rc.common: change enable and disable in whiterussian to use /etc/init.d instead of...
authorFelix Fietkau <nbd@openwrt.org>
Sun, 15 Oct 2006 21:14:18 +0000 (21:14 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 15 Oct 2006 21:14:18 +0000 (21:14 +0000)
SVN-Revision: 5130

openwrt/package/base-files/default/etc/rc.common

index a08f5e523c622f4373763a3173cf88d1be36f1b0..c871babe7904d82b7d92783d35f63f854a480f07 100755 (executable)
@@ -32,13 +32,13 @@ shutdown() {
 
 disable() {
        name="$(basename "${initscript}")"
-       rm -f "$IPKG_INSTROOT/etc/rc.d/S??$name"
+       rm -f "$IPKG_INSTROOT/etc/init.d/S??$name"
 }
 
 enable() {
        name="$(basename "${initscript}")"
        disable
-       ln -s "/etc/init.d/$name" "$IPKG_INSTROOT/etc/rc.d/S${START}${name##S[0-9][0-9]}"
+       ln -s "/etc/init.d/$name" "$IPKG_INSTROOT/etc/init.d/S${START}${name##S[0-9][0-9]}"
 }
 
 depends() {