mdev fix
authorFelix Fietkau <nbd@openwrt.org>
Fri, 20 Apr 2007 23:46:17 +0000 (23:46 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 20 Apr 2007 23:46:17 +0000 (23:46 +0000)
SVN-Revision: 7019

target/linux/ar7-2.6/base-files/default/etc/init.d/adam2

index 6b5d3400110368b5b7e4b5338f4367bf260fbfdd..ed3e490882cf36884e5dd7a5748565826d4f8259 100755 (executable)
@@ -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>&-