fix minor bugs in the patcher init script
authorFelix Fietkau <nbd@openwrt.org>
Fri, 20 Apr 2007 15:17:47 +0000 (15:17 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 20 Apr 2007 15:17:47 +0000 (15:17 +0000)
SVN-Revision: 7015

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

index 425bc15..6b5d340 100755 (executable)
@@ -9,5 +9,6 @@ start() {
                mtd unlock adam2
                /sbin/adam2patcher /dev/mtdblock/0
        }
-       rm -f /etc/init.d/S00adam2 /sbin/adam2patcher >&- 2>&-
+       disable
+       rm -f /etc/init.d/adam2 /sbin/adam2patcher >&- 2>&-
 }