packages/net/frickin/files/frickin.init
nico 1728fbad3b packages/frickin: use new service functions
git-svn-id: svn://svn.openwrt.org/openwrt/packages@29060 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 22:15:47 +00:00

19 lines
274 B
Bash

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