aboutsummaryrefslogtreecommitdiffstats
path: root/target
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
parentc7f299dfe5d23e2420faa5c1696ac21e43c8fbd5 (diff)
downloadupstream-edb8f76fbc2dab051fac45c6d76b0f8f6b76ad22.tar.gz
upstream-edb8f76fbc2dab051fac45c6d76b0f8f6b76ad22.tar.bz2
upstream-edb8f76fbc2dab051fac45c6d76b0f8f6b76ad22.zip
remove the symlink as well when removing the adam2 patcher
SVN-Revision: 7023
Diffstat (limited to 'target')
-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 ed3e490882..64c860804c 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>&-
}