af94d760d0
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
16 lines
199 B
Bash
Executable file
16 lines
199 B
Bash
Executable file
#!/bin/sh
|
|
set -e
|
|
|
|
[ -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
|