aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar7-2.6/base-files
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
commit35c32933d559e5fe1b9ccae873305ebbd4f22d22 (patch)
tree16e4af07c68342125e4789be2e637329779992dc /target/linux/ar7-2.6/base-files
parent746444843435d2132a2e3b03d7ff818ab3409711 (diff)
downloadupstream-35c32933d559e5fe1b9ccae873305ebbd4f22d22.tar.gz
upstream-35c32933d559e5fe1b9ccae873305ebbd4f22d22.tar.bz2
upstream-35c32933d559e5fe1b9ccae873305ebbd4f22d22.zip
mdev fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7019 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/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 6b5d340011..ed3e490882 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>&-