mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
enable kvmd-media when kvmd-janus or kvmd-janus-static enabled
This commit is contained in:
parent
38346bece1
commit
3b5d62dd98
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user