9 lines
204 B
Bash
Executable file
9 lines
204 B
Bash
Executable file
#!/bin/sh
|
|
[ -z "$6" ] || env -i ACTION="ifup" INTERFACE="$6" PROTO=ppp /sbin/hotplug "iface"
|
|
|
|
[ -d /etc/ppp/ip-up.d ] && {
|
|
for SCRIPT in /etc/ppp/ip-up.d/*
|
|
do
|
|
[ -x "$SCRIPT" ] && "$SCRIPT" $@
|
|
done
|
|
}
|