From 1536df07c727add412290d0f55e47c977748f964 Mon Sep 17 00:00:00 2001 From: Mike Baker Date: Sat, 4 Nov 2006 02:48:46 +0000 Subject: [PATCH] bugfix SVN-Revision: 5436 --- openwrt/package/base-files/default/etc/preinit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openwrt/package/base-files/default/etc/preinit b/openwrt/package/base-files/default/etc/preinit index ced2bd1024..5b315927b3 100755 --- a/openwrt/package/base-files/default/etc/preinit +++ b/openwrt/package/base-files/default/etc/preinit @@ -14,7 +14,7 @@ ifname=eth0 # WAP54G, WL-HDD [ "$(nvram get boardnum)" = "2" \ -o \( "$(nvram get boardnum)" = "asusX" \ - -a "$(nvram get et1phyaddr)" -eq 1 \) ] && ifname="eth1" + -a "$(($(nvram get et1phyaddr)))" -eq 1 \) ] && ifname="eth1" insmod switch-core insmod switch-robo || insmod switch-adm || rmmod switch-core -- 2.30.2