mirror of
https://github.com/tommytran732/Arch-Setup-Script
synced 2024-12-04 07:01:32 -05:00
Compare commits
3 Commits
a39a27f0ee
...
13cf0f4a7b
Author | SHA1 | Date | |
---|---|---|---|
|
13cf0f4a7b | ||
|
9d9c42c414 | ||
|
3746046d50 |
@ -447,7 +447,7 @@ fi
|
||||
|
||||
## Setup NTS
|
||||
unpriv curl -s https://raw.githubusercontent.com/GrapheneOS/infrastructure/main/chrony.conf | tee /mnt/etc/chrony.conf > /dev/null
|
||||
unpriv curl -s https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/sysconfig/chronyd | tee /etc/sysconfig/chronyd > /dev/null
|
||||
unpriv curl -s https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/sysconfig/chronyd | tee /mnt/etc/sysconfig/chronyd > /dev/null
|
||||
|
||||
## Remove nullok from system-auth
|
||||
sed -i 's/nullok//g' /mnt/etc/pam.d/system-auth
|
||||
@ -509,7 +509,12 @@ fi
|
||||
if [ "${network_daemon}" = 'networkmanager' ]; then
|
||||
mkdir -p /mnt/etc/systemd/system/NetworkManager.service.d/
|
||||
unpriv curl -s https://gitlab.com/divested/brace/-/raw/master/brace/usr/lib/systemd/system/NetworkManager.service.d/99-brace.conf | tee /mnt/etc/systemd/system/NetworkManager.service.d/99-brace.conf > /dev/null
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "${network_daemon}" = 'systemd-networkd' ]; then
|
||||
# arch-iso has working networking, booted does not.
|
||||
cp -ap /etc/systemd/network/20* /mnt/etc/systemd/network/ > /dev/null
|
||||
fi
|
||||
|
||||
## Configuring the system.
|
||||
arch-chroot /mnt /bin/bash -e <<EOF
|
||||
|
Loading…
Reference in New Issue
Block a user