]> git.ozlabs.org Git - ppp.git/commitdiff
Merge pull request #367 from jkroonza/consolidated-ifup-down-and-scripts
authorPaul Mackerras <paulus@ozlabs.org>
Wed, 11 Oct 2023 00:44:36 +0000 (11:44 +1100)
committerPaul Mackerras <paulus@ozlabs.org>
Wed, 11 Oct 2023 00:44:36 +0000 (11:44 +1100)
Implement net-init, net-pre-up and net-down scripts in pppd.

1  2 
pppd/pathnames.h
pppd/pppd.8

Simple merge
diff --cc pppd/pppd.8
index 6c2de4ceb69dd749abd6ca212cf9fd9ab23a5348,f66ca891e10c106130a0845fc088a996201cf503..7be3e8074fe2502a9b7efc23bf5fcc0e535298c6
@@@ -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