firmware
This commit is contained in:
parent
ee9a822a31
commit
c959f3aba9
|
|
@ -2,6 +2,9 @@
|
||||||
|
|
||||||
include 'header.php';
|
include 'header.php';
|
||||||
|
|
||||||
|
$board_id = trim(@file_get_contents('/sys/class/dmi/id/board_serial'));
|
||||||
|
|
||||||
|
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
||||||
switch ($_POST['action']) {
|
switch ($_POST['action']) {
|
||||||
case 'update':
|
case 'update':
|
||||||
update_firmware();
|
update_firmware();
|
||||||
|
|
@ -100,8 +103,7 @@ switch ($_POST['action']) {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
$board_id = trim(@file_get_contents('/sys/class/dmi/id/board_serial'));
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<script>
|
<script>
|
||||||
|
|
@ -127,8 +129,7 @@ $board_id = trim(@file_get_contents('/sys/class/dmi/id/board_serial'));
|
||||||
<div class="grid">
|
<div class="grid">
|
||||||
<div class="card wide">
|
<div class="card wide">
|
||||||
Device Licence Info :- <br>
|
Device Licence Info :- <br>
|
||||||
Device ID :- <?php global $board_id;
|
Device ID :- <?php echo $board_id ?><br>
|
||||||
echo $board_id ?><br>
|
|
||||||
Reseller ID :- <br>
|
Reseller ID :- <br>
|
||||||
Project Name :- <br>
|
Project Name :- <br>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue