14 lines
191 B
Bash
Executable file
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
|