applications/luci_splash: fix restart of luci-splashd
This commit is contained in:
parent
68d3381d2d
commit
80a9bb5e83
1 changed files with 2 additions and 2 deletions
|
@ -72,7 +72,7 @@ start() {
|
|||
}
|
||||
|
||||
### Start the splash httpd
|
||||
start-stop-daemon -S -b -q -x /usr/bin/luci-splashd
|
||||
start-stop-daemon -S -m -p /var/run/luci-splashd.pid -b -q -x /usr/bin/luci-splashd
|
||||
}
|
||||
|
||||
iface_del() {
|
||||
|
@ -97,7 +97,7 @@ stop() {
|
|||
iptables -t nat -X luci_splash_prerouting
|
||||
|
||||
### Stop the splash httpd
|
||||
start-stop-daemon -K -q -x /usr/bin/luci-splashd
|
||||
start-stop-daemon -K -p /var/run/luci-splashd.pid -s KILL -q
|
||||
|
||||
sed -ie '/\/usr\/sbin\/luci-splash sync/d' /var/spool/cron/crontabs/root
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue