add packages_10.03.2 in preparation for the 10.03.2 interim release
[10.03/packages.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 }