ifupdown-ng/executor-scripts/linux/ppp
2020-11-02 08:53:30 -07:00

14 lines
191 B
Bash
Executable file

#!/bin/sh
[ -z "$IF_PPP_PROVIDER" ] && exit 0
case "$PHASE" in
create)
${MOCK} pon $IF_PPP_PROVIDER
;;
destroy)
${MOCK} poff $IF_PPP_PROVIDER
;;
depend)
echo "$IF_PPP_PHYSDEV"
;;
esac