projects
/
openwrt
/
staging
/
adrian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45bab7b
)
Fix v1.0 nvram "bug".
author
Mike Baker
<mbm@openwrt.org>
Sun, 17 Oct 2004 23:34:31 +0000
(23:34 +0000)
committer
Mike Baker
<mbm@openwrt.org>
Sun, 17 Oct 2004 23:34:31 +0000
(23:34 +0000)
SVN-Revision: 170
obsolete-buildroot/sources/openwrt/root/etc/init.d/S10boot
patch
|
blob
|
history
diff --git
a/obsolete-buildroot/sources/openwrt/root/etc/init.d/S10boot
b/obsolete-buildroot/sources/openwrt/root/etc/init.d/S10boot
index f69c881bb365c5b0c16cc6f3a2edb82d4fcd4242..b650c9464eb86e1ad65ae7685b7f1caffb81580d 100755
(executable)
--- a/
obsolete-buildroot/sources/openwrt/root/etc/init.d/S10boot
+++ b/
obsolete-buildroot/sources/openwrt/root/etc/init.d/S10boot
@@
-5,8
+5,7
@@
echo "S" > /proc/jffs2_bbc
mkdir -p /var/run
-[ -z "$(nvram get il0macaddr)" ] || \
-[ "$(nvram get il0macaddr)" = "00:90:4c:5f:00:2a" ] && {
+[ "$(nvram get il0macaddr)" = "00:90:4c:5f:00:2a" ] && {
# if default wifi mac, set two higher than the lan mac
nvram set il0macaddr=$(nvram get et0macaddr|
awk '{OFS=FS=":";for(x=7,y=2;--x;){$x=sprintf("%02x",(y+="0x"$x)%256);y/=256}print}')