ef5c0e48fa
SVN-Revision: 3826
9 lines
210 B
Bash
Executable file
9 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
|
|
}
|