diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-07-15 18:17:04 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-07-15 18:17:04 +0100 |
commit | 3102b7044fcc3c9862d1de29fb60f1c597826f7d (patch) | |
tree | 8b046d4ed857c34792441d656bc12e96f3ea6020 | |
parent | ceaab64993ef7adbce109a74ee8f4bc8fd78fa06 (diff) |
allow live user to play games out of-the-box
-rwxr-xr-x | redcorelive-openrc.sh | 2 | ||||
-rwxr-xr-x | redcorelive-systemd.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/redcorelive-openrc.sh b/redcorelive-openrc.sh index fe21069..d945482 100755 --- a/redcorelive-openrc.sh +++ b/redcorelive-openrc.sh @@ -21,7 +21,7 @@ redcore_add_live_user() { } redcore_live_user_groups() { - for group in tty disk lp wheel uucp console audio cdrom tape kvm cdemu video vboxsf vboxguest cdrw usb plugdev messagebus portage ; do + for group in tty disk lp wheel uucp console audio cdrom tape kvm cdemu games video vboxsf vboxguest cdrw usb plugdev messagebus portage ; do /usr/bin/gpasswd -a "$liveuser" "$group" > /dev/null 2>&1 done } diff --git a/redcorelive-systemd.sh b/redcorelive-systemd.sh index 75059be..f5f98d0 100755 --- a/redcorelive-systemd.sh +++ b/redcorelive-systemd.sh @@ -21,7 +21,7 @@ redcore_add_live_user() { } redcore_live_user_groups() { - for group in tty disk lp wheel uucp console audio cdrom tape kvm cdemu video vboxsf vboxguest cdrw usb plugdev messagebus portage ; do + for group in tty disk lp wheel uucp console audio cdrom tape kvm cdemu games video vboxsf vboxguest cdrw usb plugdev messagebus portage ; do gpasswd -a "$liveuser" "$group" > /dev/null 2>&1 done } |