c636d6b293558bfd2fdf9013fe644cc018885250
[openwrt/svn-archive/archive.git] / net / seeks / files / seeks.init
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2008 OpenWrt.org
3 START=99
4
5 DAEMON=/usr/bin/seeks
6
7 start() {
8 echo 'seeks is starting...'
9 start-stop-daemon -S -q -x "$DAEMON" -- --daemon
10 }
11
12 stop() {
13 echo 'seeks is stopping...'
14 start-stop-daemon -K -q -x "$DAEMON"
15 }
16
17 restart() {
18 stop
19 sleep 2
20 start
21 }