2020-08-19 12:11:52 +00:00
|
|
|
#!/bin/sh
|
|
|
|
[ -z "$IF_PPP_PROVIDER" ] && exit 0
|
2020-09-09 22:48:35 +00:00
|
|
|
|
2020-08-19 12:11:52 +00:00
|
|
|
case "$PHASE" in
|
2020-09-09 22:48:35 +00:00
|
|
|
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
|