summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-04-20 23:46:17 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-04-20 23:46:17 +0000
commit665cebde37b455c12c74aea06aba200faf252539 (patch)
tree0a43f120ef7ac8e5b05377e4eba6b86a7c878429 /target/linux
parent0b4465de66b82f742860a60fb92dca0d49ca3d70 (diff)
downloadmtk-20170518-665cebde37b455c12c74aea06aba200faf252539.zip
mtk-20170518-665cebde37b455c12c74aea06aba200faf252539.tar.gz
mtk-20170518-665cebde37b455c12c74aea06aba200faf252539.tar.bz2
mdev fix
SVN-Revision: 7019
Diffstat (limited to 'target/linux')
-rwxr-xr-xtarget/linux/ar7-2.6/base-files/default/etc/init.d/adam22
1 files changed, 1 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 6b5d340..ed3e490 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
@@ -7,7 +7,7 @@ start() {
MD5="$(md5sum /dev/mtdblock/0 | awk '{print $1}')"
[ "$MD5" = "0530bfdf00ec155f4182afd70da028c1" ] && {
mtd unlock adam2
- /sbin/adam2patcher /dev/mtdblock/0
+ /sbin/adam2patcher /dev/mtdblock0
}
disable
rm -f /etc/init.d/adam2 /sbin/adam2patcher >&- 2>&-