Make the reboot time estimate a little more realisitic.
This commit is contained in:
parent
b738cea7c6
commit
a86c158d03
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Reference in New Issue