packages/rp-pppoe: use new service functions, use $(CP) instead of $(INSTALL_*) for...
[openwrt/svn-archive/archive.git] / net / rp-pppoe / files / pppoe-server.init
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2006-2011 OpenWrt.org
3
4 START=50
5
6 DEFAULT=/etc/default/pppoe-server
7
8 start() {
9 [ -f $DEFAULT ] && . $DEFAULT
10 service_start /usr/sbin/pppoe-server $OPTIONS
11 }
12
13 stop() {
14 service_stop /usr/sbin/pppoe-server
15 }