summaryrefslogtreecommitdiffstats
path: root/net/srelay/files/srelay.init
blob: 95d1d8137619eec6dc5821981d2329e2cf68ab2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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
}