move busybox init scripts from base-files into the busybox package and make them...
[openwrt.git] / package / base-files / ar7 / etc / init.d / adam2
1 #!/bin/sh /etc/rc.common
2 # ADAM2 patcher for Netgear DG834 and compatible
3 # Copyright (C) 2006 OpenWrt.org
4
5 START=00
6 start() {
7 MD5="$(md5sum /dev/mtdblock/0 | awk '{print $1}')"
8 [ "$MD5" = "0530bfdf00ec155f4182afd70da028c1" ] && {
9 mtd unlock adam2
10 /sbin/adam2patcher /dev/mtdblock/0
11 }
12 rm -f /etc/init.d/S00adam2 /sbin/adam2patcher >&- 2>&-
13 }
This page took 0.061625 seconds and 5 git commands to generate.