applications/siitwizard: whitespace and typo fixes, svn property fixup
[project/luci.git] / libs / sgi-luci / root / etc / init.d / luci-httpd
1 #!/bin/sh /etc/rc.common
2 PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
3 DAEMON=/usr/bin/luci-httpd
4 NAME=luci-httpd
5 DESC="HTTP server"
6 START=49
7
8 test -x $DAEMON || exit 0
9
10 set -e
11
12 start() {
13         echo -n "Starting $DESC: $NAME"
14         start-stop-daemon -S -b -q -x $DAEMON
15         echo "."
16 }
17
18 stop() {
19         echo -n "Stopping $DESC: $NAME"
20         start-stop-daemon -K -q -x $DAEMON
21         echo "."
22 }