1 #!/bin/sh /etc/rc.common
2 PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
4 DESC="LuCId superserver"
7 test -x $DAEMON || exit 0
11 echo -n "Starting $DESC: $NAME"
12 lua -lluci.lucid -e 'luci.lucid.start()'
17 echo -n "Stopping $DESC: $NAME"
18 lua -lluci.lucid -e 'luci.lucid.stop()'
23 # echo -n "Restarting $DESC: $NAME... "
24 # start-stop-daemon -K -s HUP -q -x $DAEMON
33 # If the daemon can reload its config files on the fly
34 # for example by sending it SIGHUP, do it here.
36 # If the daemon responds to changes in its config file
37 # directly anyway, make this a do-nothing entry.
39 # echo -n "Reloading $DESC configuration... "
40 # start-stop-daemon -K -s 1 -q -x $DAEMON