mirror of
https://github.com/unraid/webgui.git
synced 2026-05-06 20:30:50 -05:00
Power mode: add info when running VM virtualized
This commit is contained in:
@@ -40,7 +40,7 @@ $(function(){
|
||||
$('input[type=radio]').each(function(){
|
||||
if ($(this).prop('disabled')) $(this).next('span').html(" <i>(_(unavailable)_)</i>");
|
||||
});
|
||||
<?if (exec("lsblk -Ano mountpoint,label|grep -Pom1 '^/boot +\K.+'") != 'UNRAID'):?>
|
||||
<?if (exec("dmesg | grep -Pom1 'Hypervisor detected'")):?>
|
||||
$('#vm').show();
|
||||
<?endif;?>
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user