diff --git a/includes/system.php b/includes/system.php index 8cdefbf8..0de2fe29 100755 --- a/includes/system.php +++ b/includes/system.php @@ -41,7 +41,7 @@ function RPiVersion() 'a220a0' => 'Compute Module 3', 'a020a0' => 'Compute Module 3', 'a02100' => 'Compute Module 3+', - 'c03111' => 'Model 4B v1.1' + 'c03111' => 'Model 4B v1.1' ); $cpuinfo_array = ''; @@ -135,23 +135,23 @@ function DisplaySystem() $cpuload_status = "success"; } -?> + ?>
-' . _("System Rebooting Now!") . '
'; - $result = shell_exec("sudo /sbin/reboot"); -} -if (isset($_POST['system_shutdown'])) { - echo '
' . _("System Shutting Down Now!") . '
'; - $result = shell_exec("sudo /sbin/shutdown -h now"); -} -?> + ' . _("System Rebooting Now!") . '
'; + $result = shell_exec("sudo /sbin/reboot"); + } + if (isset($_POST['system_shutdown'])) { + echo '
' . _("System Shutting Down Now!") . '
'; + $result = shell_exec("sudo /sbin/shutdown -h now"); + } + ?>

showMessages(); ?>

@@ -224,6 +224,6 @@ if (isset($_POST['system_shutdown'])) {
-