packages/net/srelay/files/srelay.init
olli 45012a8bdb [Packages] net/srelay: Fix compilation
git-svn-id: svn://svn.openwrt.org/openwrt/packages@10533 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-28 12:27:19 +00:00

14 lines
181 B
Bash

#!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org
START=50
start() {
if [ -f /etc/srelay.conf ];then
srelay -c /etc/srelay.conf -r -s
fi
}
stop() {
killall srelay
}