summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@G5.local>2009-10-25 20:55:17 -0400
committerScott Ullrich <sullrich@G5.local>2009-10-25 20:55:17 -0400
commit410cdac44d3d78912af7bf2a40d619c292e39746 (patch)
tree81754cba8be556c9ee3c953d64b47d1d52bdc694 /etc
parent568b1358908d446caeee9199091a22f7f6ef60ed (diff)
downloadpfsense-410cdac44d3d78912af7bf2a40d619c292e39746.zip
pfsense-410cdac44d3d78912af7bf2a40d619c292e39746.tar.gz
Set booting to true.. not TRUE
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc6
-rwxr-xr-xetc/rc.bootup5
2 files changed, 5 insertions, 6 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index ce66319..7c7d256 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -1292,16 +1292,14 @@ EOD;
function interface_wireless_clone($if, $wlcfg) {
global $config, $g;
// On bootup pause a sec and let serial catch up
- if($g['booting'])
- usleep(100);
+ if($g['booting'])
+ echo "\n";
/* Check to see if interface has been cloned as of yet.
* If it has not been cloned then go ahead and clone it.
*/
$needs_clone = true;
$interface_num = substr($wlcfg['if'], 3);
if(does_interface_exist("{$wlcfg['if']}_wlan{$interface_num}")) {
- if($g['booting'])
- echo "\n";
$hostap_enabled = `/sbin/ifconfig | grep {$wlcfg['if']}_wlan{$interface_num} | grep hostap`;
if($hostap_enabled)
$needs_clone = false;
diff --git a/etc/rc.bootup b/etc/rc.bootup
index ed8af91..2b59052 100755
--- a/etc/rc.bootup
+++ b/etc/rc.bootup
@@ -93,7 +93,7 @@ if (led_count() >= 3) {
echo ".";
/* let the other functions know we're booting */
$pkg_interface = 'console';
-$g['booting'] = TRUE;
+$g['booting'] = true;
touch("{$g['varrun_path']}/booting");
if($g['platform'] == "cdrom") {
$motd = trim(file_get_contents("/etc/motd"));
@@ -356,4 +356,5 @@ unlink("{$g['varrun_path']}/booting");
unset($g['booting']);
led_normalize();
-?>
+
+?> \ No newline at end of file
OpenPOWER on IntegriCloud