summaryrefslogtreecommitdiff
path: root/target/linux/ar7-2.6/base-files/default
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ar7-2.6/base-files/default')
-rwxr-xr-xtarget/linux/ar7-2.6/base-files/default/etc/init.d/adam23
1 files changed, 1 insertions, 2 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 ed3e490882..64c860804c 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,6 +9,5 @@ start() {
mtd unlock adam2
/sbin/adam2patcher /dev/mtdblock0
}
- disable
- rm -f /etc/init.d/adam2 /sbin/adam2patcher >&- 2>&-
+ rm -f /etc/rc.d/S${START}adam2 /etc/init.d/adam2 /sbin/adam2patcher >&- 2>&-
}