applications/luci-splash: fix two other redundant lock wait calls
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 1 Jul 2011 11:33:46 +0000 (11:33 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 1 Jul 2011 11:33:46 +0000 (11:33 +0000)
applications/luci-splash/root/etc/init.d/luci_splash

index 285471773488f9715a1033cd2494e45e6ff6384a..e4980d968bbbf79d09489d2b89dead14f41b38e0 100755 (executable)
@@ -161,7 +161,7 @@ EOF
 }
 
 start() {
-       lock -w $LOCK && lock $LOCK
+       lock $LOCK
 
        include /lib/network
        scan_interfaces
@@ -238,7 +238,7 @@ start() {
 }
 
 stop() {
-       lock -w $LOCK && lock $LOCK
+       lock $LOCK
 
        include /lib/network
        scan_interfaces