mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-05-31 20:44:42 +00:00
Cleanup NEED_HOOK_SYNC
This commit is contained in:
@@ -69,14 +69,6 @@ elif [[ -f "$LOCAL_SCRIPTS_DEFAULT/global/pci_passthrough_helpers.sh" ]]; then
|
||||
else
|
||||
msg_warn "$(translate 'pci_passthrough_helpers.sh missing — SR-IOV / orphan-audio guards will be skipped')"
|
||||
fi
|
||||
if [[ -f "$LOCAL_SCRIPTS_LOCAL/global/gpu_hook_guard_helpers.sh" ]]; then
|
||||
source "$LOCAL_SCRIPTS_LOCAL/global/gpu_hook_guard_helpers.sh"
|
||||
elif [[ -f "$LOCAL_SCRIPTS_DEFAULT/global/gpu_hook_guard_helpers.sh" ]]; then
|
||||
source "$LOCAL_SCRIPTS_DEFAULT/global/gpu_hook_guard_helpers.sh"
|
||||
else
|
||||
msg_warn "$(translate 'gpu_hook_guard_helpers.sh missing — VM hookscript guard will be skipped')"
|
||||
fi
|
||||
|
||||
load_language
|
||||
initialize_cache
|
||||
|
||||
@@ -1217,10 +1209,6 @@ switch_to_vm_mode() {
|
||||
update-initramfs -u -k all >>"$LOG_FILE" 2>&1
|
||||
msg_ok "$(translate 'initramfs updated')" | tee -a "$screen_capture"
|
||||
fi
|
||||
|
||||
if declare -F sync_proxmenux_gpu_guard_hooks >/dev/null 2>&1; then
|
||||
sync_proxmenux_gpu_guard_hooks
|
||||
fi
|
||||
}
|
||||
|
||||
_type_has_remaining_vfio_ids() {
|
||||
@@ -1292,10 +1280,6 @@ switch_to_lxc_mode() {
|
||||
update-initramfs -u -k all >>"$LOG_FILE" 2>&1
|
||||
msg_ok "$(translate 'initramfs updated')" | tee -a "$screen_capture"
|
||||
fi
|
||||
|
||||
if declare -F sync_proxmenux_gpu_guard_hooks >/dev/null 2>&1; then
|
||||
sync_proxmenux_gpu_guard_hooks
|
||||
fi
|
||||
}
|
||||
|
||||
# ==========================================================
|
||||
|
||||
Reference in New Issue
Block a user