From 6d2b017b2c61d6995ba489172d33d6c05c5aa3bb Mon Sep 17 00:00:00 2001 From: Kapdap Date: Wed, 13 Nov 2024 22:05:36 +1300 Subject: [PATCH] Custom workgroup by firemonk3y https://github.com/Fmstrat/samba-domain/pull/47 --- init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.sh b/init.sh index b4939b0..51a3408 100755 --- a/init.sh +++ b/init.sh @@ -19,7 +19,7 @@ appSetup () { LDOMAIN=${DOMAIN,,} UDOMAIN=${DOMAIN^^} - URDOMAIN=${UDOMAIN%%.*} + URDOMAIN=${WORKGROUP:-${UDOMAIN%%.*}} # If multi-site, we need to connect to the VPN before joining the domain if [[ ${MULTISITE,,} == "true" ]]; then