packages/net/srelay/files/srelay.init
nico 67d3639f8c packages/srelay: use new service functions
git-svn-id: svn://svn.openwrt.org/openwrt/packages@29066 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 22:16:00 +00:00

15 lines
205 B
Bash

#!/bin/sh /etc/rc.common
# Copyright (C) 2006-2011 OpenWrt.org
START=50
SERVICE_USE_PID=1
start() {
service_start /usr/bin/srelay -c /etc/srelay.conf -r -s
}
stop() {
service_stop /usr/bin/srelay
}