applications/luci-splash: luci-splashd is obsolete, remove start & stop for it (again)
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 9 Jun 2009 12:31:42 +0000 (12:31 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 9 Jun 2009 12:31:42 +0000 (12:31 +0000)
applications/luci-splash/root/etc/init.d/luci_splash

index 2ca565189f22cd5163383f51b8b86b05c9219c35..d9ef21c217406b01768abf464a67cd3bb4c84762 100755 (executable)
@@ -233,9 +233,6 @@ start() {
        grep -q luci-splash /etc/crontabs/root || {
                echo '*/5 * * * *       /usr/sbin/luci-splash sync' >> /etc/crontabs/root
        }
-
-       ### Start the splash httpd
-       start-stop-daemon -S -m -p /var/run/luci-splashd.pid -b -q -x /usr/bin/luci-splashd
 }
 
 stop() {
@@ -260,9 +257,6 @@ stop() {
        silent iptables -t nat    -X luci_splash_prerouting
        silent iptables -t filter -X luci_splash_counter
        silent iptables -t mangle -X luci_splash_mark
-
-       ### Stop the splash httpd
-       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
 }