1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-19 15:19:41 +02:00
openwrt-xburst/package/ppp/files/etc/ppp/ip-down
nico c343b9656f sync ppp with trunk and convert it to -ng.
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3826 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-24 07:19:27 +00:00

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
}