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 | 14f9d231396ae074995a3675ecf07bb66ab9017c (patch) | |
tree | f958211e801e219a9eb79f2542d74d1d6aed06b6 /openwrt/target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05nvram | |
parent | 55bc42afdadc9990ee44e08d26ea6a6077e45adf (diff) |
add netconfig script to brcm-2.4 and remove default /etc/config/network
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2902 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05nvram')
-rwxr-xr-x | openwrt/target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05nvram | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openwrt/target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05nvram b/openwrt/target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05nvram index 728b2847b..70fbd4662 100755 --- a/openwrt/target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05nvram +++ b/openwrt/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 |