mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 23:18:42 +01:00
foolsm: Add package foolsm
Signed-off-by: Brian J. Murrell <brian@interlinx.bc.ca>
(cherry picked from commit 5cff94399d)
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
#!/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
|
||||
}
|
||||
Reference in New Issue
Block a user