Add wg-ui install script with least-privilege service user
This commit is contained in:
@@ -59,6 +59,10 @@ case "$DISTRO" in
|
||||
echo "detected Arch-family distro: $DISTRO"
|
||||
pacman -Syu --noconfirm --needed wireguard-tools
|
||||
;;
|
||||
alpine)
|
||||
echo "detected Alpine distro: $DISTRO"
|
||||
apk add --no-cache wireguard-tools
|
||||
;;
|
||||
*)
|
||||
echo "error: unsupported distro: $DISTRO" >&2
|
||||
echo "install wireguard manually (kernel module + wg/wg-quick tools)" >&2
|
||||
|
||||
Reference in New Issue
Block a user