init script cleanup, use /etc/rc.d/ for enabled scripts, /etc/init.d/<pkgname> (enabl...
[openwrt/svn-archive/archive.git] / net / rp-pppoe / files / pppoe-relay.init
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2006 OpenWrt.org
3
4 DEFAULT=/etc/default/pppoe-relay
5
6 start() {
7 [ -f $DEFAULT ] && . $DEFAULT
8 pppoe-relay $OPTIONS
9 }
10
11 stop() {
12 killall pppoe-relay
13 }
14