summaryrefslogtreecommitdiffstats
path: root/etc/rc.bootup
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-09-20 13:35:35 +0000
committerErmal Luçi <eri@pfsense.org>2008-09-20 13:35:35 +0000
commit3a312927f4fdfdcf707225a6d3cdb04ccd70d33d (patch)
treeb71bf84071177ce86e87d4b50981f3ad141b2fa1 /etc/rc.bootup
parent4e7da37c2dfd4bc98f434913f5137a8cde846d85 (diff)
downloadpfsense-3a312927f4fdfdcf707225a6d3cdb04ccd70d33d.zip
pfsense-3a312927f4fdfdcf707225a6d3cdb04ccd70d33d.tar.gz
Remove duplicated comment and add some style(9).
Diffstat (limited to 'etc/rc.bootup')
-rwxr-xr-xetc/rc.bootup14
1 files changed, 5 insertions, 9 deletions
diff --git a/etc/rc.bootup b/etc/rc.bootup
index 6bea7cc..b999fca 100755
--- a/etc/rc.bootup
+++ b/etc/rc.bootup
@@ -43,7 +43,8 @@
touch("{$g['varrun_path']}/booting");
if($g['platform'] == "cdrom") {
$motd = trim(file_get_contents("/etc/motd"));
- if(strlen($motd) > 2) echo "\n{$motd}\n\n";
+ if (strlen($motd) > 2)
+ echo "\n{$motd}\n\n";
}
/* parse the configuration and include all functions used below */
@@ -58,7 +59,7 @@
conf_mount_rw();
/* remove previous firmware upgrade if present */
- if(file_exists("/root/firmware.tgz"))
+ if (file_exists("/root/firmware.tgz"))
unlink("/root/firmware.tgz");
/* start devd (dhclient now uses it */
@@ -78,15 +79,10 @@
/*
* Determine if we need to throw a interface exception
- * and ask the user to reassign interfaces. This will
- * avoid a reboot and thats a good thing.
+ * and ask the user to reassign interfaces. This will
+ * avoid a reboot and thats a good thing.
*/
unmute_kernel_msgs();
- /*
- * Determine if we need to throw a interface exception
- * and ask the user to reassign interfaces. This will
- * avoid a reboot and thats a good thing.
- */
while(is_interface_mismatch() == true) {
echo "\nNetwork interface mismatch -- Running interface assignment option.\n";
set_networking_interfaces_ports();
OpenPOWER on IntegriCloud