diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-04-27 15:44:07 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-04-27 15:44:07 +0000 |
commit | c2696fb7067d5646e0c6566f00d10b7a4dc856af (patch) | |
tree | 285477c4a1d9ae3c6315d90eb503b5475357cd0e /package/nvram/files/nvram.init | |
parent | 7fc886584f3e9ee1ac74897a49e817ce00bdc1bf (diff) | |
download | mtk-20170518-c2696fb7067d5646e0c6566f00d10b7a4dc856af.zip mtk-20170518-c2696fb7067d5646e0c6566f00d10b7a4dc856af.tar.gz mtk-20170518-c2696fb7067d5646e0c6566f00d10b7a4dc856af.tar.bz2 |
remove leftover unvram directory and move the nvram.init change to package/nvram
SVN-Revision: 15447
Diffstat (limited to 'package/nvram/files/nvram.init')
-rwxr-xr-x | package/nvram/files/nvram.init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/nvram/files/nvram.init b/package/nvram/files/nvram.init index fcfa7f6..001b294 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 } |