diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-01-11 03:27:57 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-01-11 03:27:57 +0000 |
commit | abe23443a8652a656bf840685c32582f1659d75c (patch) | |
tree | 3ff86bbc4ee0c1a78140316829fa3d5983ae9454 /target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05nvram | |
parent | 5f0e5ca33705395654f782f33851f4d4c3884801 (diff) |
add netconfig script to brcm-2.4 and remove default /etc/config/network
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2902 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05nvram')
-rwxr-xr-x | target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05nvram | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05nvram b/target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05nvram index 728b2847b..70fbd4662 100755 --- a/target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05nvram +++ b/target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05nvram @@ -6,6 +6,9 @@ . /etc/network.overrides alias debug=${DEBUG:-:} +# WGT634u +[ "$(/usr/bin/head -c4 /dev/mtdblock/1 | /usr/bin/tail -c3)" = "ELF" ] && exit + remap () { for type in lan wifi wan pppoe do |