summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2010-08-07 16:16:44 -0400
committerChris Buechler <cmb@pfsense.org>2010-08-07 16:16:44 -0400
commitea52942ce5e02c767de991a355780806bad0b240 (patch)
treec7e744544eaae33cbe1baf32535defea8a9dc4fb /usr
parent4362a6121d47b87c44f0ff10632b12853cf0d080 (diff)
downloadpfsense-ea52942ce5e02c767de991a355780806bad0b240.zip
pfsense-ea52942ce5e02c767de991a355780806bad0b240.tar.gz
add info message
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/status_wireless.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/status_wireless.php b/usr/local/www/status_wireless.php
index bcfa302..169dbe1 100755
--- a/usr/local/www/status_wireless.php
+++ b/usr/local/www/status_wireless.php
@@ -80,7 +80,9 @@ foreach($ciflist as $interface => $ifdescr) {
if($_POST['rescanwifi'] <> "") {
$rwlif = get_real_interface($if);
mwexec_bg("/sbin/ifconfig {$rwlif} scan 2>&1");
+ $savemsg = "Rescan has been initiated in the background. Refresh this page in 10 seconds to see the results.";
}
+if ($savemsg) print_info_box($savemsg);
display_top_tabs($tab_array);
?>
</td></tr>
@@ -89,7 +91,6 @@ display_top_tabs($tab_array);
<table class="tabcont" colspan="3" cellpadding="3" width="100%">
<?php
-
/* table header */
print "<tr><td colspan=7><b><input type=\"submit\" name=\"rescanwifi\" id=\"disablecarp\" value=\"Rescan\"><br/></td></tr>\n";
print "<tr><td colspan=7><b>Nearby access points or ad-hoc peers.<br/></td></tr>\n";
OpenPOWER on IntegriCloud