diff options
-rwxr-xr-x | etc/rc.bootup | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/etc/rc.bootup b/etc/rc.bootup index 272d84e..f0b0815 100755 --- a/etc/rc.bootup +++ b/etc/rc.bootup @@ -144,13 +144,15 @@ /* set up VLAN virtual interfaces */ interfaces_vlan_configure(); - - /* set up LAN interface */ - echo "Configuring LAN interface..."; - mute_kernel_msgs(); - interfaces_lan_configure(); - unmute_kernel_msgs(); - echo "done.\n"; + + if($config['interfaces']['lan']) { + /* set up LAN interface */ + echo "Configuring LAN interface..."; + mute_kernel_msgs(); + interfaces_lan_configure(); + unmute_kernel_msgs(); + echo "done.\n"; + } /* set up WAN interface */ echo "Configuring WAN interface..."; |