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 425bc15d6962fd4e71a5b4a9b93e6d37ab4abf14..6b5d3400110368b5b7e4b5338f4367bf260fbfdd 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>&-
 }