add netconfig script to brcm-2.4 and remove default /etc/config/network
[oweals/openwrt.git] / openwrt / target / linux / package / base-files / files / brcm-2.4 / etc / init.d / S05nvram
index 728b2847b19b3ffe9b3660eb2ae256921426d783..70fbd4662493b8e900fb14f038dac03e9485470a 100755 (executable)
@@ -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