summaryrefslogtreecommitdiffstats
path: root/target/linux/ar7-2.6/base-files
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-04-20 15:17:47 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-04-20 15:17:47 +0000
commitd5cdc01a0c8be8f1ad30c4af3695d54c215f5b89 (patch)
tree495155f4e4e486891dd83a9deed6257203521b61 /target/linux/ar7-2.6/base-files
parente2f57790973a69f3cce142d420037612d9011bba (diff)
fix minor bugs in the patcher init script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7015 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 425bc15d6..6b5d34001 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>&-
}