From: Paul Mackerras Date: Wed, 11 Oct 2023 00:44:36 +0000 (+1100) Subject: Merge pull request #367 from jkroonza/consolidated-ifup-down-and-scripts X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=commitdiff_plain;h=1480d439ca62d17d7a8a4704194860148dc27689 Merge pull request #367 from jkroonza/consolidated-ifup-down-and-scripts Implement net-init, net-pre-up and net-down scripts in pppd. --- 1480d439ca62d17d7a8a4704194860148dc27689 diff --cc pppd/pppd.8 index 6c2de4c,f66ca89..7be3e80 --- a/pppd/pppd.8 +++ b/pppd/pppd.8 @@@ -1733,8 -1729,8 +1733,8 @@@ We failed to authenticate ourselves to Pppd invokes scripts at various stages in its processing which can be used to perform site-specific ancillary processing. These scripts are usually shell scripts, but could be executable code files instead. - Pppd does not wait for the scripts to finish (except for the ip\-pre\-up - script). The scripts are -Pppd does not wait for the scripts to finish (except for the net-init, -net-pre-up and ip-pre-up scripts). The scripts are ++Pppd does not wait for the scripts to finish (except for the net\-init, ++net\-pre\-up and ip\-pre\-up scripts). The scripts are executed as root (with the real and effective user-id set to 0), so that they can do things such as update routing tables or run privileged daemons. Be careful that the contents of these scripts do