mirror of
https://github.com/YellowJacketLinux/lfs-buildscripts.git
synced 2025-01-23 22:42:28 +08:00
more configuration changes
This commit is contained in:
parent
1debcf6060
commit
8075cc71ca
@ -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
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user