packages/net/rp-pppoe/files/pppoe-server.init
nico 26b1491d87 packages/rp-pppoe: use new service functions, use $(CP) instead of $(INSTALL_*) for packaging stuff installed by upstream Makefile
git-svn-id: svn://svn.openwrt.org/openwrt/packages@29082 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 22:16:30 +00:00

16 lines
248 B
Bash

#!/bin/sh /etc/rc.common
# Copyright (C) 2006-2011 OpenWrt.org
START=50
DEFAULT=/etc/default/pppoe-server
start() {
[ -f $DEFAULT ] && . $DEFAULT
service_start /usr/sbin/pppoe-server $OPTIONS
}
stop() {
service_stop /usr/sbin/pppoe-server
}