22b65e8a09de9f13fe3259ba3a968c813674e234
[openwrt/svn-archive/archive.git] / package / ppp / files / etc / ppp / ip-up
1 #!/bin/sh
2 [ -z "$6" ] || env -i ACTION="ifup" INTERFACE="$6" DEVICE="$1" PROTO=ppp /sbin/hotplug-call "iface"
3
4 [ -d /etc/ppp/ip-up.d ] && {
5 for SCRIPT in /etc/ppp/ip-up.d/*
6 do
7 [ -x "$SCRIPT" ] && "$SCRIPT" $@
8 done
9 }