ifupdown-ng/executor-scripts/linux/ppp

15 lines
191 B
Text
Raw Permalink Normal View History

2020-08-19 12:11:52 +00:00
#!/bin/sh
[ -z "$IF_PPP_PROVIDER" ] && exit 0
2020-08-19 12:11:52 +00:00
case "$PHASE" in
create)
${MOCK} pon $IF_PPP_PROVIDER
;;
destroy)
${MOCK} poff $IF_PPP_PROVIDER
;;
depend)
echo "$IF_PPP_PHYSDEV"
;;
2020-08-19 12:11:52 +00:00
esac