aboutsummaryrefslogtreecommitdiffstats
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
commit7dbd4491738bfa5d78df88a4249fb583d705d6f1 (patch)
tree166e5e04b61ed66becbc88a7b4a604ad72613460
parent1a16baeccd7d214138ee7dd44aa19aa8fee6c61a (diff)
downloadmaster-187ad058-7dbd4491738bfa5d78df88a4249fb583d705d6f1.tar.gz
master-187ad058-7dbd4491738bfa5d78df88a4249fb583d705d6f1.tar.bz2
master-187ad058-7dbd4491738bfa5d78df88a4249fb583d705d6f1.zip
remove the symlink as well when removing the adam2 patcher
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7023 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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>&-
}