ppp-down 238 B

12345678910111213
  1. #!/bin/sh
  2. PPP_IPPARAM="$6"
  3. . /lib/netifd/netifd-proto.sh
  4. proto_init_update "$IFNAME" 0
  5. proto_send_update "$PPP_IPPARAM"
  6. [ -d /etc/ppp/ip-down.d ] && {
  7. for SCRIPT in /etc/ppp/ip-down.d/*
  8. do
  9. [ -x "$SCRIPT" ] && "$SCRIPT" "$@"
  10. done
  11. }