summaryrefslogtreecommitdiff
path: root/target/linux/ar7-2.6
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-04-21 09:34:28 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-04-21 09:34:28 +0000
commitedb8f76fbc2dab051fac45c6d76b0f8f6b76ad22 (patch)
treee9ca54ed1798f84d3b8f3626ba64e09969c6cd68 /target/linux/ar7-2.6
parentc7f299dfe5d23e2420faa5c1696ac21e43c8fbd5 (diff)
downloadmtk-20170518-edb8f76fbc2dab051fac45c6d76b0f8f6b76ad22.zip
mtk-20170518-edb8f76fbc2dab051fac45c6d76b0f8f6b76ad22.tar.gz
mtk-20170518-edb8f76fbc2dab051fac45c6d76b0f8f6b76ad22.tar.bz2
remove the symlink as well when removing the adam2 patcher
SVN-Revision: 7023
Diffstat (limited to 'target/linux/ar7-2.6')
-rwxr-xr-xtarget/linux/ar7-2.6/base-files/default/etc/init.d/adam23
1 files changed, 1 insertions, 2 deletions
diff --git a/target/linux/ar7-2.6/base-files/default/etc/init.d/adam2 b/target/linux/ar7-2.6/base-files/default/etc/init.d/adam2
index ed3e490..64c8608 100755
--- a/target/linux/ar7-2.6/base-files/default/etc/init.d/adam2
+++ b/target/linux/ar7-2.6/base-files/default/etc/init.d/adam2
@@ -9,6 +9,5 @@ start() {
mtd unlock adam2
/sbin/adam2patcher /dev/mtdblock0
}
- disable
- rm -f /etc/init.d/adam2 /sbin/adam2patcher >&- 2>&-
+ rm -f /etc/rc.d/S${START}adam2 /etc/init.d/adam2 /sbin/adam2patcher >&- 2>&-
}