mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
enable kvmd-media when kvmd-janus or kvmd-janus-static enabled
This commit is contained in:
@@ -102,8 +102,8 @@ EOF
|
||||
touch -t 200701011000 /etc/fstab
|
||||
fi
|
||||
|
||||
if [[ "$(vercmp "$2" 4.29)" -lt 0 ]]; then
|
||||
if [ "$(systemctl is-enabled kvmd-janus || true)" = enabled ]; then
|
||||
if [[ "$(vercmp "$2" 4.31)" -lt 0 ]]; then
|
||||
if [[ "$(systemctl is-enabled kvmd-janus || true)" = enabled || "$(systemctl is-enabled kvmd-janus-static || true)" = enabled ]]; then
|
||||
systemctl enable kvmd-media || true
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user