Make the reboot time estimate a little more realisitic.

This commit is contained in:
jim-p 2012-02-23 08:36:33 -05:00
parent b738cea7c6
commit a86c158d03
5 changed files with 6 additions and 6 deletions

View File

@ -40,7 +40,7 @@
echo <<<EOD
{$g['product_name']} will shutdown and halt system. This may take one minute.
{$g['product_name']} will shutdown and halt system. This may take a few minutes, depending on your hardware.
Do you want to proceed [y|n]?
EOD;

View File

@ -40,7 +40,7 @@
echo <<<EOD
{$g['product_name']} will reboot. This may take one minute.
{$g['product_name']} will reboot. This may take a few minutes, depending on your hardware.
Do you want to proceed [y|n]?
EOD;

View File

@ -48,7 +48,7 @@ if ($_POST) {
if ($_POST['Submit'] != " No ") {
reset_factory_defaults();
system_reboot();
$rebootmsg = gettext("The system has been reset to factory defaults and is now rebooting. This may take one minute.");
$rebootmsg = gettext("The system has been reset to factory defaults and is now rebooting. This may take a few minutes, depending on your hardware.");
} else {
header("Location: index.php");
exit;

View File

@ -49,7 +49,7 @@ require("captiveportal.inc");
if ($_POST) {
if ($_POST['Submit'] != " No ") {
system_halt();
$rebootmsg = gettext("The system is halting now. This may take one minute.");
$rebootmsg = gettext("The system is halting now. This may take a few minutes, depending on your hardware.");
} else {
header("Location: index.php");
exit;

View File

@ -42,7 +42,7 @@ require("captiveportal.inc");
if ($_POST) {
if ($_POST['Submit'] == gettext(" Yes ")) {
$rebootmsg = gettext("The system is rebooting now. This may take one minute.");
$rebootmsg = gettext("The system is rebooting now. This may take a few minutes, depending on your hardware.");
} else {
Header("Location: /");
}
@ -73,7 +73,7 @@ if ($_POST) {
if ($_POST['Submit'] == $reply) {
echo "<meta http-equiv=\"refresh\" content=\"70;url=/\">";
system_reboot();
$rebootmsg = gettext("The system is rebooting now. This may take one minute.");
$rebootmsg = gettext("The system is rebooting now. This may take a few minutes, depending on your hardware.");
} else {
exit;
}