cups: configure: disable acl
[14.07/packages.git] / admin / ostiary / files / ostiaryd.init
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2008-2012 OpenWrt.org
3
4 START=85
5 MYSERVICE=ostiaryd
6
7
8 start() {
9     echo starting $MYSERVICE...
10     /usr/bin/$MYSERVICE
11     sleep 1
12     echo done
13 }
14
15 stop() {
16
17         if ps ax | grep -v grep | grep -v rc.common | grep $MYSERVICE> /dev/null
18         then
19                 echo "stopping $MYSERVICE..."
20                 pkill -9 $MYSERVICE
21                 sleep 1
22                 echo done
23         else
24                 echo "$MYSERVICE is not running"
25         fi
26 }
27