summaryrefslogtreecommitdiff
path: root/target/linux/ar7-2.6/base-files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-04-20 15:17:47 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-04-20 15:17:47 +0000
commit24c0c2bd0c449f2b9e9da9e5467a1ac0a0477721 (patch)
treea6becc17560174d7558fb8990be04a105acdb0dc /target/linux/ar7-2.6/base-files
parent36802e23cf892c0a3cb551a4efd7779d8fadab6f (diff)
downloadmtk-20170518-24c0c2bd0c449f2b9e9da9e5467a1ac0a0477721.zip
mtk-20170518-24c0c2bd0c449f2b9e9da9e5467a1ac0a0477721.tar.gz
mtk-20170518-24c0c2bd0c449f2b9e9da9e5467a1ac0a0477721.tar.bz2
fix minor bugs in the patcher init script
SVN-Revision: 7015
Diffstat (limited to 'target/linux/ar7-2.6/base-files')
-rwxr-xr-xtarget/linux/ar7-2.6/base-files/default/etc/init.d/adam23
1 files changed, 2 insertions, 1 deletions
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 425bc15..6b5d340 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,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>&-
}