packages/net/seeks/files/seeks.init
mirko eb86aca7d2 [packages] add package 'seeks' - thanks to Obinou
git-svn-id: svn://svn.openwrt.org/openwrt/packages@27124 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-07 10:24:57 +00:00

22 lines
298 B
Bash

#!/bin/sh /etc/rc.common
# Copyright (C) 2008 OpenWrt.org
START=99
DAEMON=/usr/bin/seeks
start() {
echo 'seeks is starting...'
start-stop-daemon -S -q -x "$DAEMON" -- --daemon
}
stop() {
echo 'seeks is stopping...'
start-stop-daemon -K -q -x "$DAEMON"
}
restart() {
stop
sleep 2
start
}