aboutsummaryrefslogtreecommitdiffstats
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
parent36802e23cf892c0a3cb551a4efd7779d8fadab6f (diff)
downloadupstream-24c0c2bd0c449f2b9e9da9e5467a1ac0a0477721.tar.gz
upstream-24c0c2bd0c449f2b9e9da9e5467a1ac0a0477721.tar.bz2
upstream-24c0c2bd0c449f2b9e9da9e5467a1ac0a0477721.zip
fix minor bugs in the patcher init script
SVN-Revision: 7015
-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 425bc15d69..6b5d340011 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>&-
}