more configuration changes

This commit is contained in:
YellowJacketLinux 2024-10-12 02:04:42 -07:00
parent 1debcf6060
commit 8075cc71ca
3 changed files with 26 additions and 10 deletions

View File

@ -64,3 +64,26 @@ cat > /etc/shells << "EOF"
# End /etc/shells
EOF
# modprobe.d
install -m755 -d /etc/modprobe.d
cat > /etc/modprobe.d/usb.conf << "EOF"
# Begin /etc/modprobe.d/usb.conf
install ohci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe -i ohci_hcd ; true
install uhci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe -i uhci_hcd ; true
# End /etc/modprobe.d/usb.conf
EOF
cat > /etc/modprobe.d/usb.conf << "EOF"
# Begin /etc/modprobe.d/blacklist.conf
blacklist nouveau
options nouveau modset=0
# End /etc/modprobe.d/blacklist.conf
EOF

View File

@ -42,10 +42,11 @@ Name=lan0
[Network]
DHCP=ipv4
EOF
# auto-update certificate bundle
# auto-update "make-ca" certificate bundle
systemctl enable update-pki.timer
else
# bootable USB thumb drive
echo "lfsusb" > /etc/hostname
systemctl disable systemd-networkd-wait-online
#systemctl disable systemd-networkd-wait-online
systemctl disable systemd-networkd
fi

View File

@ -1,13 +1,5 @@
#!/bin/bash
# Do not try to bring up the network when booted from a thumb drive
systemctl disable systemd-networkd-wait-online
# hostname
echo "lfsusb" > /etc/hostname
# LFS user
groupadd lfs