From: nbd Date: Sat, 21 Apr 2007 09:34:28 +0000 (+0000) Subject: remove the symlink as well when removing the adam2 patcher X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/3e7e7a6e3c2a84fde57d381e6b19a275790532f3?ds=sidebyside 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 --- 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 ed3e49088..64c860804 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>&- }