@@ -104,9 +104,9 @@ $time = explode(' ', $time);
$time = $time[1] + $time[0];
$finish = $time;
$total_time = round(($finish - $start), 4);
-echo '';
+echo '';
} else {
-
+
header('WWW-Authenticate: Basic realm="Dashboard"');
header('HTTP/1.0 401 Unauthorized');
echo 'Zur Ausführung bitte die geforderten Login-Daten eingeben!';
diff --git a/scripts/reboot.php b/scripts/reboot.php
index dd31711..a2150c5 100644
--- a/scripts/reboot.php
+++ b/scripts/reboot.php
@@ -23,7 +23,7 @@ if (!isset($_SERVER['PHP_AUTH_USER'])) {
-
+
@@ -40,7 +40,7 @@ if (!isset($_SERVER['PHP_AUTH_USER'])) {
if (getConfigItem("General", "Duplex", $mmdvmconfigs) == "1") {
echo "Repeater";
} else {
- echo "Hotspot";
+ echo "Hotspot";
}
?>:
MMDVMHost by G4KLX Version:
@@ -52,7 +52,7 @@ if (!isset($_SERVER['PHP_AUTH_USER'])) {
checkSetup();
exec('sleep 5s && '. REBOOTSYS . ' > /dev/null 2>&1 &');
?>
-Executing /dev/null 2>&1 &'?>
Reboot system in progress
+Executing /dev/null 2>&1 &'?>
Reboot system in progress
@@ -66,9 +66,9 @@ $time = explode(' ', $time);
$time = $time[1] + $time[0];
$finish = $time;
$total_time = round(($finish - $start), 4);
-echo '';
+echo '';
} else {
-
+
header('WWW-Authenticate: Basic realm="Dashboard"');
header('HTTP/1.0 401 Unauthorized');
echo 'Zur Ausführung bitte die geforderten Login-Daten eingeben!';
diff --git a/scripts/rebootmmdvm.php b/scripts/rebootmmdvm.php
index 2e809c2..5749446 100644
--- a/scripts/rebootmmdvm.php
+++ b/scripts/rebootmmdvm.php
@@ -23,7 +23,7 @@ if (!isset($_SERVER['PHP_AUTH_USER'])) {
-
+
@@ -40,7 +40,7 @@ if (!isset($_SERVER['PHP_AUTH_USER'])) {
if (getConfigItem("General", "Duplex", $mmdvmconfigs) == "1") {
echo "Repeater";
} else {
- echo "Hotspot";
+ echo "Hotspot";
}
?>:
MMDVMHost by G4KLX Version:
@@ -53,7 +53,7 @@ checkSetup();
include "../include/sysinfo.php";
exec( REBOOTMMDVM );
?>
-
Executing
Reboot MMDVMHost service in progress
+
Executing
Reboot MMDVMHost service in progress
@@ -69,7 +69,7 @@ $finish = $time;
$total_time = round(($finish - $start), 4);
echo '';
} else {
-
+
header('WWW-Authenticate: Basic realm="Dashboard"');
header('HTTP/1.0 401 Unauthorized');
echo 'Zur Ausführung bitte die geforderten Login-Daten eingeben!';
diff --git a/setup.php b/setup.php
index 3059158..144eedf 100644
--- a/setup.php
+++ b/setup.php
@@ -113,7 +113,7 @@ include "include/tools.php";
YSFHosts.txt-filename
" name="YSFHOSTSFILENAME" class="form-control" placeholder="YSFHosts.txt" aria-describedby="YSFHOSTSFILENAME">
-
+
Username for halt:
" name="HALTUSER" class="form-control" placeholder="username" aria-describedby="HALTUSER">
-
+
Password for halt:
" name="HALTPW" class="form-control" placeholder="password" aria-describedby="HALTPW">
-
+
Username for reboot:
" name="REBOOTUSER" class="form-control" placeholder="username" aria-describedby="REBOOTUSER">
-
+
Password for reboot:
" name="REBOOTPW" class="form-control" placeholder="password" aria-describedby="REBOOTPW">
-
+
Username for restart:
" name="RESTARTUSER" class="form-control" placeholder="username" aria-describedby="RESTARTUSER">
-
+
Password for restart:
" name="RESTARTPW" class="form-control" placeholder="password" aria-describedby="RESTARTPW">
-
+
Reboot MMDVMHost command:
" name="REBOOTMMDVM" class="form-control" placeholder="sudo systemctl restart mmdvmhost.service" aria-describedby="REBOOTMMDVM">
-
+
Reboot system command:
" name="REBOOTSYS" class="form-control" placeholder="sudo reboot" aria-describedby="REBOOTSYS">
-
+
Halt system command:
" name="HALTSYS" class="form-control" placeholder="sudo halt" aria-describedby="HALTSYS">
-
+
diff --git a/txinfo.php b/txinfo.php
index 526fef8..99ae174 100644
--- a/txinfo.php
+++ b/txinfo.php
@@ -31,7 +31,7 @@ foreach ($lastHeard as $listElem) {
}
}*/
echo"$listElem[2] | ";
-
+
if (defined("ENABLEXTDLOOKUP")) {
//echo "".getName($listElem[2])." | ";
echo"$listElem[3] | ";