Skip to content

Commit

Permalink
Update wireguard-manager.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Prajwal Koirala <102563715+Prajwal-Koirala@users.noreply.github.com>
  • Loading branch information
Prajwal-Koirala committed Nov 30, 2023
1 parent a738066 commit 28387fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wireguard-manager.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function virt-check() {
# on is supported. If it is not supported, the script will print an error
# message and exit.
case ${CURRENT_SYSTEM_VIRTUALIZATION} in
"kvm" | "none" | "qemu" | "lxc" | "microsoft" | "vmware" | "xen" | "amazon") ;;
"kvm" | "none" | "qemu" | "lxc" | "microsoft" | "vmware" | "xen" | "amazon" | "docker") ;;
*)
echo "${CURRENT_SYSTEM_VIRTUALIZATION} virtualization is not supported (yet)."
exit
Expand Down Expand Up @@ -144,7 +144,7 @@ function check-current-init-system() {
# This line retrieves the current init system by checking the process name of PID 1.
case ${CURRENT_INIT_SYSTEM} in
# The case statement checks if the retrieved init system is one of the allowed options.
*"systemd"* | *"init"*)
*"systemd"* | *"init"* | *"bash"*)
# If the init system is systemd or sysvinit (init), continue with the script.
;;
*)
Expand Down

0 comments on commit 28387fa

Please sign in to comment.