ppp-ip-down 307 B

12345678910111213
  1. #!/bin/sh
  2. #
  3. # This script is run by pppd after the connection has ended.
  4. #
  5. # Execute all scripts in /etc/ppp/ip-up.d/
  6. for ipdown in /etc/ppp/ip-down.d/*.sh; do
  7. if [ -x $ipdown ]; then
  8. # Parameters: interface-name tty-device speed local-IP-address remote-IP-address ipparam
  9. $ipdown "$@"
  10. fi
  11. done