summaryrefslogtreecommitdiff
path: root/package/ppp/files/etc/ppp/ip-up
blob: 53a91343a510b51faa09822f04cc613ec3e71e51 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh
[ -z "$6" ] || env -i ACTION="ifup" INTERFACE="$6" PROTO=ppp /sbin/hotplug-call "iface"

[ -d /etc/ppp/ip-up.d ] && {
	for SCRIPT in /etc/ppp/ip-up.d/*
	do
		[ -x "$SCRIPT" ] && "$SCRIPT" $@
	done
}