forked from unraid/webgui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBootDevice.page
More file actions
43 lines (40 loc) · 1.58 KB
/
BootDevice.page
File metadata and controls
43 lines (40 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Menu="Main:3"
Title="Boot Device"
Tag="paw"
---
<?PHP
/* Copyright 2005-2018, Lime Technology
* Copyright 2012-2018, Bergware International.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*/
?>
<script>
function boot_status() {
$.post('/webGui/include/DeviceList.php',{path:'<?=$path?>',device:'flash'},function(data) {
if (data) {$('#boot_device').html(data); display_diskio();}
<?if ($var['fsState']=='Started'):?>
timers.boot_status = setTimeout(boot_status,3000);
<?endif;?>
});
}
<?if ($var['fsState']=='Started'):?>
$('#tab3').bind({click:function() {$('i.toggle').show('slow');}});
<?endif;?>
boot_status();
</script>
<table class="disk_status wide">
<thead><tr><td>Device</td><td>Identification</td><td>Temp.</td><td>Reads</td><td>Writes</td><td>Errors</td><td>FS</td><td>Size</td><td>Used</td><td>Free</td><td>View</td></tr></thead>
<tbody id="boot_device">
<?if (isset($disks['flash'])) echo "<tr><td colspan='11'> </td></tr>";?>
</tbody>
</table>
> Vital array configuration is maintained on the USB Flash device; for this reason, it must remain
> plugged in to your server. Click on [Flash](/Main/Flash?name=flash) to see the GUID and registration
> information, and to configure export settings. Since the USB Flash device is formatted using FAT file system,
> it may only be exported using SMB protocol.