summaryrefslogtreecommitdiffhomepage
path: root/applications
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-02-20 01:43:47 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-02-20 01:43:47 +0000
commit80a9bb5e8368b2974b28ce7d0f645b9fe7fe3054 (patch)
treeba9f3990a9838930ade0858dca9f189ced5d5082 /applications
parent68d3381d2d469a19f671e78e828eaf9a89d41d5e (diff)
applications/luci_splash: fix restart of luci-splashd
Diffstat (limited to 'applications')
-rwxr-xr-xapplications/luci-splash/root/etc/init.d/luci_splash4
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-splash/root/etc/init.d/luci_splash b/applications/luci-splash/root/etc/init.d/luci_splash
index 2d563d1a79..fe451d08d5 100755
--- a/applications/luci-splash/root/etc/init.d/luci_splash
+++ b/applications/luci-splash/root/etc/init.d/luci_splash
@@ -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
}