nico 9863946058 packages/lsm: use new service functions, pass proper CFLAGS, cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/packages@29090 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 02:38:32 +00:00

20 lines
288 B
Bash

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