summaryrefslogtreecommitdiff
path: root/package/nvram
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-04-27 15:44:07 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-04-27 15:44:07 +0000
commitfcc9a3db52c174448857167fe8c89d1a0f84413c (patch)
tree6facf46be6910173b715747f1f0241a834bfb3ec /package/nvram
parent252bf0da28a26bb40cfd137ca46d6ecdb1ba49bd (diff)
remove leftover unvram directory and move the nvram.init change to package/nvram
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15447 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/nvram')
-rwxr-xr-xpackage/nvram/files/nvram.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/nvram/files/nvram.init b/package/nvram/files/nvram.init
index fcfa7f65e9..001b294959 100755
--- a/package/nvram/files/nvram.init
+++ b/package/nvram/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
}