diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-04-27 15:27:32 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-04-27 15:27:32 +0000 |
commit | bdb1c41b3cf31ca8e8f16b68d1a0e824ec005a92 (patch) | |
tree | 6135446c3c6a00a06e83221883765d094b5be559 /package/unvram | |
parent | 5ee9066096efef55cfdd72c04b878b818c5024d0 (diff) | |
download | master-187ad058-bdb1c41b3cf31ca8e8f16b68d1a0e824ec005a92.tar.gz master-187ad058-bdb1c41b3cf31ca8e8f16b68d1a0e824ec005a92.tar.bz2 master-187ad058-bdb1c41b3cf31ca8e8f16b68d1a0e824ec005a92.zip |
nvram fixup: move the nvram commit hook to commit for all variables, since changes no longer take effect after only a set operation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15441 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/unvram')
-rwxr-xr-x | package/unvram/files/nvram.init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/unvram/files/nvram.init b/package/unvram/files/nvram.init index fcfa7f65e9..001b294959 100755 --- 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 } |