fix typo
authorMike Baker <mbm@openwrt.org>
Thu, 10 May 2007 12:15:36 +0000 (12:15 +0000)
committerMike Baker <mbm@openwrt.org>
Thu, 10 May 2007 12:15:36 +0000 (12:15 +0000)
SVN-Revision: 7170

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

index 453cdbf33ac3e6e658bdf7377b81e16f21a7e200..4ffc79890a94c5f115bee58f0c7ad6cd52de7d19 100755 (executable)
@@ -39,7 +39,7 @@ enable() {
        name="$(basename "${initscript}")"
        disable
        [ "$START" ] && ln -s "/etc/init.d/$name" "$IPKG_INSTROOT/etc/rc.d/S${START}${name##S[0-9][0-9]}"
-       [ "$STOP"  ] && ln -s "/etc/init.d/$name" "$IPKG_INSTROOT/etc/rc.d/K${START}${name##K[0-9][0-9]}"
+       [ "$STOP"  ] && ln -s "/etc/init.d/$name" "$IPKG_INSTROOT/etc/rc.d/K${STOP}${name##K[0-9][0-9]}"
 }
 
 enabled() {