summaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-04-20 23:46:17 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-04-20 23:46:17 +0000
commit3fb733b0cb5481a894eb3aea3cb68297ed5a9b56 (patch)
tree16e4af07c68342125e4789be2e637329779992dc /target/linux
parentf8179abfb0afa869359d5a19792e965b536dafdb (diff)
mdev fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7019 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 6b5d34001..ed3e49088 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>&-