From 2a35f1c3d27273687bb9cde44300f403d6d0d278 Mon Sep 17 00:00:00 2001 From: Randall Winkhart Date: Sun, 26 Nov 2023 15:10:37 -0500 Subject: [PATCH] Remove redundant "classmod" group, add user to "uucp" group --- chrootInstall.sh | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/chrootInstall.sh b/chrootInstall.sh index c071f3d..ecc92f6 100755 --- a/chrootInstall.sh +++ b/chrootInstall.sh @@ -44,8 +44,7 @@ fi grub-mkconfig -o /boot/grub/grub.cfg # account setup -groupadd classmod -useradd -m -g humans -G classmod "$username" +useradd -m -g humans -G uucp "$username" echo "$userpassword $userpassword " | passwd "$username" @@ -101,10 +100,6 @@ echo 'blacklist iTCO_wdt' > /etc/modprobe.d/blacklist.conf if [ "$formfactor" == 2 ] || [ "$formfactor" == 1 ]; then pacman -S powertop --needed --noconfirm - echo 'SUBSYSTEM=="backlight", ACTION=="add", \ - RUN+="/bin/chgrp classmod /sys/class/backlight/%k/brightness", \ - RUN+="/bin/chmod g+w /sys/class/backlight/%k/brightness" - ' > /etc/udev/rules.d/screenbacklight.rules fi # set home directory permissions @@ -138,9 +133,6 @@ chown -R "$username":humans /home/"$username"/.config/autostart if [ "$formfactor" == 1 ]; then echo 'options snd_hda_intel power_save=1' > /etc/modprobe.d/audio_powersave.conf echo 'vm.dirty_writeback_centisecs = 6000' > /etc/sysctl.d/dirty.conf - echo 'RUN+="/bin/chgrp classmod /sys/class/leds/asus::kbd_backlight/brightness" - RUN+="/bin/chmod g+w /sys/class/leds/asus::kbd_backlight/brightness" - ' > /etc/udev/rules.d/asuskbdbacklight.rules echo 'evdev:input:b0003v0B05p1866* KEYBOARD_KEY_c00b6=home # Fn+F2 KEYBOARD_KEY_c00b5=end # Fn+F4