From: Felix Fietkau Date: Sat, 21 Apr 2007 09:34:28 +0000 (+0000) Subject: remove the symlink as well when removing the adam2 patcher X-Git-Tag: reboot~29386 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=edb8f76fbc2dab051fac45c6d76b0f8f6b76ad22;p=openwrt%2Fstaging%2Fblogic.git remove the symlink as well when removing the adam2 patcher SVN-Revision: 7023 --- 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 ed3e490882cf..64c860804cf7 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>&- }