ar7: fix adam2patcher.
authorEugene Konev <ejka@imfi.kspu.ru>
Sun, 6 May 2007 15:30:04 +0000 (15:30 +0000)
committerEugene Konev <ejka@imfi.kspu.ru>
Sun, 6 May 2007 15:30:04 +0000 (15:30 +0000)
SVN-Revision: 7110

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

index 64c860804cf7b04081ef3102f8da0f258a751d50..6b786270ea97eb9f23175b0080d526e099660bab 100755 (executable)
@@ -4,7 +4,7 @@
 
 START=00
 start() {
-       MD5="$(md5sum /dev/mtdblock/0  | awk '{print $1}')"
+       MD5="$(md5sum /dev/mtdblock0  | awk '{print $1}')"
        [ "$MD5" = "0530bfdf00ec155f4182afd70da028c1" ] && {
                mtd unlock adam2
                /sbin/adam2patcher /dev/mtdblock0