diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-02-09 03:26:28 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-02-09 03:26:28 +0000 |
commit | 7a5b7a053ba58fbdeb8fca2cd000d842e172e175 (patch) | |
tree | db4bf39d3d273565a31779b67634d5c5d3fba86b | |
parent | bbcc5bcdfa92faa3a52567bd474cf16eb3fb2201 (diff) | |
download | pfsense-7a5b7a053ba58fbdeb8fca2cd000d842e172e175.zip pfsense-7a5b7a053ba58fbdeb8fca2cd000d842e172e175.tar.gz |
LAN is now optional.
-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..."; |