aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar7-2.4/base-files/etc/init.d/adam2
diff options
context:
space:
mode:
authorTim Yardley <lst@openwrt.org>2007-03-02 18:17:40 +0000
committerTim Yardley <lst@openwrt.org>2007-03-02 18:17:40 +0000
commit3249931be4d02d83a1fb9225d4355e1fa2509da8 (patch)
treeeee75efb521525000f257533dee3114ccfbdcc2a /target/linux/ar7-2.4/base-files/etc/init.d/adam2
parentd60f2546168f82bff620d2909936e27865d91273 (diff)
downloadmaster-187ad058-3249931be4d02d83a1fb9225d4355e1fa2509da8.tar.gz
master-187ad058-3249931be4d02d83a1fb9225d4355e1fa2509da8.tar.bz2
master-187ad058-3249931be4d02d83a1fb9225d4355e1fa2509da8.zip
commit profile support for base-files... patches still need to be done
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6465 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar7-2.4/base-files/etc/init.d/adam2')
-rwxr-xr-xtarget/linux/ar7-2.4/base-files/etc/init.d/adam213
1 files changed, 0 insertions, 13 deletions
diff --git a/target/linux/ar7-2.4/base-files/etc/init.d/adam2 b/target/linux/ar7-2.4/base-files/etc/init.d/adam2
deleted file mode 100755
index 425bc15d69..0000000000
--- a/target/linux/ar7-2.4/base-files/etc/init.d/adam2
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh /etc/rc.common
-# ADAM2 patcher for Netgear DG834 and compatible
-# Copyright (C) 2006 OpenWrt.org
-
-START=00
-start() {
- MD5="$(md5sum /dev/mtdblock/0 | awk '{print $1}')"
- [ "$MD5" = "0530bfdf00ec155f4182afd70da028c1" ] && {
- mtd unlock adam2
- /sbin/adam2patcher /dev/mtdblock/0
- }
- rm -f /etc/init.d/S00adam2 /sbin/adam2patcher >&- 2>&-
-}