openwrt-owl/openwrt/package/rp-pppoe/files/pppoe-relay.init

16 lines
176 B
Bash

#!/bin/sh
DEFAULT=/etc/default/pppoe-relay
[ -f $DEFAULT ] && . $DEFAULT
case $1 in
start)
pppoe-relay $OPTIONS
;;
*)
echo "usage: $0 (start)"
exit 1
esac
exit $?