diff options
author | Holger Paradies <retabell@gmx.de> | 2013-12-16 20:37:12 +0100 |
---|---|---|
committer | Holger Paradies <retabell@gmx.de> | 2013-12-17 20:58:35 +0100 |
commit | d04ee601269445bf950d49f16e1c7225dc4ce49c (patch) | |
tree | 150db373ea21f026c10184f0219dc974cdb4fcc1 | |
parent | 362bf297c54cabfbe2ae73adc9291623dfed9dfd (diff) | |
download | acritoxinstaller-d04ee601269445bf950d49f16e1c7225dc4ce49c.zip acritoxinstaller-d04ee601269445bf950d49f16e1c7225dc4ce49c.tar.gz |
use-groups-from-etc-live-config.conf
-rw-r--r-- | backend/modules/install_main | 4 |
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 } |