aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh/level2.sh
diff options
context:
space:
mode:
Diffstat (limited to 'init-sh/level2.sh')
-rwxr-xr-xinit-sh/level2.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/init-sh/level2.sh b/init-sh/level2.sh
index 896673c..4ac487f 100755
--- a/init-sh/level2.sh
+++ b/init-sh/level2.sh
@@ -63,6 +63,8 @@ echo "Adding \"normal\" PATH variable :"
AddRules "PATH=\$PATH:/usr/X11R6/bin" /etc/profile quiet
AddRules "export PATH SECURE_LEVEL" /etc/profile
# Group
-echo "Adding \"${USERNAME} to audio group :"
-usermod -G audio "${USERNAME}"
-
+echo -n "Adding \"${USERS_DRAKX}\" to audio group :"
+for user in ${USERS_DRAKX}; do
+ usermod -G audio "${user}"
+done
+echo "done." \ No newline at end of file