diff options
Diffstat (limited to 'target/linux/ar7/base-files/etc/init.d/.svn')
3 files changed, 84 insertions, 0 deletions
diff --git a/target/linux/ar7/base-files/etc/init.d/.svn/entries b/target/linux/ar7/base-files/etc/init.d/.svn/entries new file mode 100644 index 0000000..cdc1051 --- /dev/null +++ b/target/linux/ar7/base-files/etc/init.d/.svn/entries @@ -0,0 +1,62 @@ +10 + +dir +36060 +svn://svn.openwrt.org/openwrt/trunk/target/linux/ar7/base-files/etc/init.d +svn://svn.openwrt.org/openwrt + + + +2007-09-29T14:27:54.638162Z +9069 +juhosg + + + + + + + + + + + + + + +3c298f89-4303-0410-b956-a3cf2f4a3e73 + +adam2 +file + + + + +2013-03-17T12:12:20.000000Z +dde8a44e34e15429fe6d49039291ad7c +2007-05-06T15:30:04.920180Z +7110 +ejka +has-props + + + + + + + + + + + + + + + + + + + + +371 + diff --git a/target/linux/ar7/base-files/etc/init.d/.svn/prop-base/adam2.svn-base b/target/linux/ar7/base-files/etc/init.d/.svn/prop-base/adam2.svn-base new file mode 100644 index 0000000..03b5bfa --- /dev/null +++ b/target/linux/ar7/base-files/etc/init.d/.svn/prop-base/adam2.svn-base @@ -0,0 +1,9 @@ +K 13 +svn:eol-style +V 6 +native +K 14 +svn:executable +V 1 +* +END diff --git a/target/linux/ar7/base-files/etc/init.d/.svn/text-base/adam2.svn-base b/target/linux/ar7/base-files/etc/init.d/.svn/text-base/adam2.svn-base new file mode 100644 index 0000000..6b78627 --- /dev/null +++ b/target/linux/ar7/base-files/etc/init.d/.svn/text-base/adam2.svn-base @@ -0,0 +1,13 @@ +#!/bin/sh /etc/rc.common +# ADAM2 patcher for Netgear DG834 and compatible +# Copyright (C) 2006 OpenWrt.org + +START=00 +start() { + MD5="$(md5sum /dev/mtdblock0 | awk '{print $1}')" + [ "$MD5" = "0530bfdf00ec155f4182afd70da028c1" ] && { + mtd unlock adam2 + /sbin/adam2patcher /dev/mtdblock0 + } + rm -f /etc/rc.d/S${START}adam2 /etc/init.d/adam2 /sbin/adam2patcher >&- 2>&- +} |