summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-02-09 03:26:28 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-02-09 03:26:28 +0000
commit7a5b7a053ba58fbdeb8fca2cd000d842e172e175 (patch)
treedb4bf39d3d273565a31779b67634d5c5d3fba86b
parentbbcc5bcdfa92faa3a52567bd474cf16eb3fb2201 (diff)
downloadpfsense-7a5b7a053ba58fbdeb8fca2cd000d842e172e175.zip
pfsense-7a5b7a053ba58fbdeb8fca2cd000d842e172e175.tar.gz
LAN is now optional.
-rwxr-xr-xetc/rc.bootup16
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...";
OpenPOWER on IntegriCloud