mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-19 15:19:41 +02:00
c343b9656f
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3826 3c298f89-4303-0410-b956-a3cf2f4a3e73
10 lines
210 B
Bash
Executable File
10 lines
210 B
Bash
Executable File
#!/bin/sh
|
|
[ -z "$6" ] || env -i ACTION="ifdown" INTERFACE="$6" PROTO=ppp /sbin/hotplug "iface"
|
|
|
|
[ -d /etc/ppp/ip-down.d ] && {
|
|
for SCRIPT in /etc/ppp/ip-down.d/*
|
|
do
|
|
[ -x "$SCRIPT" ] && "$SCRIPT" $@
|
|
done
|
|
}
|