mirror of
https://github.com/unraid/webgui.git
synced 2026-01-14 13:39:58 -06:00
Hide Docker or VM page when service is not running
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
Menu="Tasks:60"
|
||||
Type="xmenu"
|
||||
Code="f100"
|
||||
Cond="exec(\"grep -o '^DOCKER_ENABLED=.yes' /boot/config/docker.cfg 2>/dev/null\")"
|
||||
Cond="pgrep('dockerd')!==false"
|
||||
----
|
||||
<?PHP
|
||||
/* Copyright 2005-2017, Lime Technology
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Menu="Tasks:70"
|
||||
Type="xmenu"
|
||||
Code="f108"
|
||||
Cond="exec(\"grep -o '^SERVICE=.enable' /boot/config/domain.cfg 2>/dev/null\")"
|
||||
Cond="pgrep('libvirtd')!==false"
|
||||
---
|
||||
<?PHP
|
||||
/* Copyright 2005-2017, Lime Technology
|
||||
|
||||
Reference in New Issue
Block a user