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:
4c406b5
)
nvram fixup: move the nvram commit hook to commit for all variables, since changes...
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 27 Apr 2009 15:27:32 +0000
(15:27 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 27 Apr 2009 15:27:32 +0000
(15:27 +0000)
SVN-Revision: 15441
package/unvram/files/nvram.init
patch
|
blob
|
history
diff --git
a/package/unvram/files/nvram.init
b/package/unvram/files/nvram.init
index fcfa7f65e9c4516ef9900abdd2272ccb48d0d7cb..001b29495948a2d254b046ed14a999f7b3b81e8d 100755
(executable)
--- a/
package/unvram/files/nvram.init
+++ b/
package/unvram/files/nvram.init
@@
-57,7
+57,6
@@
fixup_linksys() {
nvram_set sdram_ncdl 0x0
}
esac
- [ "$COMMIT" = "1" ] && nvram commit
}
start() {
@@
-72,4
+71,5
@@
start() {
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}')
}
+ [ "$COMMIT" = "1" ] && nvram commit
}