remove the symlink as well when removing the adam2 patcher
authorFelix Fietkau <nbd@openwrt.org>
Sat, 21 Apr 2007 09:34:28 +0000 (09:34 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 21 Apr 2007 09:34:28 +0000 (09:34 +0000)
SVN-Revision: 7023

target/linux/ar7-2.6/base-files/default/etc/init.d/adam2

index ed3e490882cf36884e5dd7a5748565826d4f8259..64c860804cf7b04081ef3102f8da0f258a751d50 100755 (executable)
@@ -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>&-
 }