From fa3e8162e66f305743aaef8b9bb10b064067a0cc Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 15 Oct 2006 21:14:18 +0000 Subject: [PATCH] rc.common: change enable and disable in whiterussian to use /etc/init.d instead of /etc/rc.d SVN-Revision: 5130 --- openwrt/package/base-files/default/etc/rc.common | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openwrt/package/base-files/default/etc/rc.common b/openwrt/package/base-files/default/etc/rc.common index a08f5e523c..c871babe79 100755 --- a/openwrt/package/base-files/default/etc/rc.common +++ b/openwrt/package/base-files/default/etc/rc.common @@ -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() { -- 2.30.2