diff options
author | Kyle K <kylek389@gmail.com> | 2020-02-01 12:47:46 -0600 |
---|---|---|
committer | Kyle K <kylek389@gmail.com> | 2020-02-01 12:47:46 -0600 |
commit | 8d286f3cc70bf498a5731bbe016e3cd2d2f169ff (patch) | |
tree | 828b5dbc25bb37c5a5790e0486e0998a65646987 /gentoox_build.sh | |
parent | 6054da10e8439d03d58d04064b60c9e526bcaa05 (diff) | |
download | gentoox-8d286f3cc70bf498a5731bbe016e3cd2d2f169ff.tar.gz gentoox-8d286f3cc70bf498a5731bbe016e3cd2d2f169ff.tar.bz2 gentoox-8d286f3cc70bf498a5731bbe016e3cd2d2f169ff.zip |
enable kernel.sysrq, add weston-launch group
Diffstat (limited to 'gentoox_build.sh')
-rwxr-xr-x | gentoox_build.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gentoox_build.sh b/gentoox_build.sh index 71f0d57..a00baa5 100755 --- a/gentoox_build.sh +++ b/gentoox_build.sh @@ -261,6 +261,7 @@ dev-ruby/racc ruby_targets_ruby27' >> /etc/portage/package.use/gentoox emerge -v --autounmask=y --autounmask-write=y --keep-going=y --deep --newuse xorg-server elogind sudo vim weston wpa_supplicant snapper \ nfs-utils cifs-utils samba dhcpcd nss-mdns zsh zsh-completions powertop lm-sensors screenfetch #plymouth-openrc-plugin #emerge -v --depclean +groupadd weston-launch touch /tmp/gentoox-weston-done HEREDOC exit 0 @@ -404,6 +405,7 @@ yes "$rootpassword" | passwd root useradd $username yes "$userpassword" | passwd "$username" gpasswd -a $username wheel +gpasswd -a $username weston-launch cp /usr/share/zoneinfo/UTC /etc/localtime echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen @@ -412,13 +414,15 @@ eselect locale set en_US.utf8 echo "frozen-files=\"/etc/sudoers\"" >> /etc/dispatch-conf.conf sed -i "s/# %wheel ALL=(ALL) NOPASSWD: ALL/%wheel ALL=(ALL) NOPASSWD: ALL/" /etc/sudoers -sed -Ei "s@c([2-6]):2345:respawn:/sbin/agetty 38400 tty@#\0@" /etc/inittab +#sed -Ei "s@c([2-6]):2345:respawn:/sbin/agetty 38400 tty@#\0@" /etc/inittab sed -i "s@c1:12345:respawn:/sbin/agetty 38400 tty1 linux@c1:12345:respawn:/sbin/agetty --noclear 38400 tty1 linux@" /etc/inittab echo -e "ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel\nupdate_config=1" > /etc/wpa_supplicant/wpa_supplicant.conf eselect fontconfig enable 52-infinality.conf eselect infinality set infinality eselect lcdfilter set infinality +echo 'kernel.sysrq=1' >> /etc/sysctl.d/local.conf + usermod -aG users,portage,lp,adm,audio,cdrom,disk,games,input,usb,video,cron $username cp /etc/samba/smb.conf.default /etc/samba/smb.conf |