summaryrefslogtreecommitdiff
path: root/package/base-files/files/etc/rc.common
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2007-05-10 12:15:36 +0000
committerMike Baker <mbm@openwrt.org>2007-05-10 12:15:36 +0000
commit5eb30e636dbd655e9f7865c5aa59c9d1bcb866f9 (patch)
treec589a9b56ae9bfb37edfc547423dc9b52ebe55bb /package/base-files/files/etc/rc.common
parentecfdb684d68f28c4b2e0c3a549e1cf0d19044564 (diff)
downloadmtk-20170518-5eb30e636dbd655e9f7865c5aa59c9d1bcb866f9.zip
mtk-20170518-5eb30e636dbd655e9f7865c5aa59c9d1bcb866f9.tar.gz
mtk-20170518-5eb30e636dbd655e9f7865c5aa59c9d1bcb866f9.tar.bz2
fix typo
SVN-Revision: 7170
Diffstat (limited to 'package/base-files/files/etc/rc.common')
-rwxr-xr-xpackage/base-files/files/etc/rc.common2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/etc/rc.common b/package/base-files/files/etc/rc.common
index 453cdbf..4ffc798 100755
--- a/package/base-files/files/etc/rc.common
+++ b/package/base-files/files/etc/rc.common
@@ -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() {