You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

19 lines
312 B

#!/bin/sh /etc/rc.common
# Copyright (C) 2010-2011 OpenWrt.org
START=45
SERVICE_USE_PID=1
SERVICE_PID_FILE=/var/run/foolsm.pid
start() {
service_start /usr/sbin/foolsm -c /etc/foolsm/foolsm.conf -p $SERVICE_PID_FILE
}
stop() {
service_stop /usr/sbin/foolsm
}
reload() {
service_reload /usr/sbin/foolsm
}