source:
freewrt/target/linux/package/base-files/files/ar7-2.4/etc/init.d/S00adam2@
475ad56
| Last change on this file since 475ad56 was 475ad56, checked in by , 20 years ago | |
|---|---|
|
|
| File size: 275 bytes | |
| Line | |
|---|---|
| 1 | #!/bin/sh |
| 2 | # ADAM2 patcher for Netgear DG834 and compatible |
| 3 | MD5="$(md5sum /dev/mtdblock/0 | awk '{print $1}')" |
| 4 | [ "$MD5" = "0530bfdf00ec155f4182afd70da028c1" ] && { |
| 5 | mtd unlock adam2 |
| 6 | /sbin/adam2patcher /dev/mtdblock/0 |
| 7 | } |
| 8 | rm -f /etc/init.d/S00adam2 /sbin/adam2patcher >&- 2>&- |
Note:
See TracBrowser
for help on using the repository browser.
