use lock to remove race conditions in bringing up ppp and dhcp that would lead to...
[openwrt-10.03/.git] / package / base-files / default / etc / rc.common
index a08f5e523c622f4373763a3173cf88d1be36f1b0..6066afbd5519c0a1a2bc693589e8427eea654183 100755 (executable)
@@ -32,7 +32,7 @@ shutdown() {
 
 disable() {
        name="$(basename "${initscript}")"
-       rm -f "$IPKG_INSTROOT/etc/rc.d/S??$name"
+       rm -f "$IPKG_INSTROOT"/etc/rc.d/S??$name
 }
 
 enable() {