feat: slight refactors to improve logic

This commit is contained in:
Daan Selen
2025-09-15 13:20:17 +02:00
parent b2f306789c
commit 73a969a6bf
4 changed files with 76 additions and 71 deletions

View File

@@ -1,3 +0,0 @@
FROM ubuntu:24.04
RUN apt-get update && apt-get full-upgrade -y

View File

@@ -57,7 +57,7 @@ stop_service() {
}
echo "------------------------- START ----------------------------"
echo "Starting the WireGuard Dashboard Docker container."
echo "Starting the WGDashboard Docker container."
ensure_installation() {
echo "Quick-installing..."
@@ -139,7 +139,7 @@ set_envvars() {
set_ini Server app_port "${wgd_port}"
# Account settings - process all parameters
echo "Configuring user account:"
[[ -n "$username" ]] && echo "Configuring user account:"
# Basic account variables
[[ -n "$username" ]] && set_ini Account username "${username}"