summaryrefslogtreecommitdiff
path: root/backend/modules
diff options
context:
space:
mode:
authorHolger Paradies <retabell@gmx.de>2013-12-16 20:37:12 +0100
committerHolger Paradies <retabell@gmx.de>2013-12-17 20:58:35 +0100
commitd04ee601269445bf950d49f16e1c7225dc4ce49c (patch)
tree150db373ea21f026c10184f0219dc974cdb4fcc1 /backend/modules
parent362bf297c54cabfbe2ae73adc9291623dfed9dfd (diff)
downloadacritoxinstaller-d04ee601269445bf950d49f16e1c7225dc4ce49c.zip
acritoxinstaller-d04ee601269445bf950d49f16e1c7225dc4ce49c.tar.gz
use-groups-from-etc-live-config.conf
Diffstat (limited to 'backend/modules')
-rw-r--r--backend/modules/install_main4
1 files changed, 3 insertions, 1 deletions
diff --git a/backend/modules/install_main b/backend/modules/install_main
index 18e1d7a..0b1fe01 100644
--- a/backend/modules/install_main
+++ b/backend/modules/install_main
@@ -182,7 +182,9 @@ function update_passwd_on_target()
for group in lpadmin scanner; do
chroot $TARGET addgroup --system $group >/dev/null 2>&1
done
- for group in adm audio cdrom dialout floppy video plugdev dip lpadmin lp scanner powerdev netdev; do
+ LIVE_USER_DEFAULT_GROUPS="audio cdrom dip floppy lp video plugdev netdev powerdev scanner bluetooth debian-tor fuse vboxusers"
+ [ -r /etc/live/config.conf ] && . /etc/live/config.conf
+ for group in $LIVE_USER_DEFAULT_GROUPS; do
chroot $TARGET adduser --force-badname "$cfg_username" $group >/dev/null 2>&1
done
}