set the DEVICE variable in hotplug events from ppp interfaces
[openwrt.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 }
This page took 0.044833 seconds and 5 git commands to generate.