1
0
mirror of https://github.com/tommytran732/Arch-Setup-Script synced 2024-12-04 07:01:32 -05:00

Compare commits

...

3 Commits

Author SHA1 Message Date
funk-on-code
9ebaf176b3
Merge f0d50359de into 9d9c42c414 2024-08-27 15:49:56 -07:00
funk-on-code
9d9c42c414
Fix chronyd configuration location (#48)
Signed-off-by: funk-on-code <113871227+funk-on-code@users.noreply.github.com>
2024-08-25 19:11:56 -07:00
cffea037c4
Update kernel module blacklist URL
Fixes #46 

Signed-off-by: Tommy <contact@tommytran.io>
2024-08-09 15:36:05 -07:00

View File

@ -438,7 +438,7 @@ if [ "${use_luks}" = '1' ]; then
fi
## Continue kernel hardening
unpriv curl -s https://raw.githubusercontent.com/secureblue/secureblue/live/files/system/usr/etc/modprobe.d/blacklist.conf | tee /mnt/etc/modprobe.d/blacklist.conf > /dev/null
unpriv curl -s https://raw.githubusercontent.com/secureblue/secureblue/live/files/system/etc/modprobe.d/blacklist.conf | tee /mnt/etc/modprobe.d/blacklist.conf > /dev/null
if [ "${install_mode}" = 'server' ]; then
unpriv curl -s https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/sysctl.d/99-server.conf | tee /mnt/etc/sysctl.d/99-server.conf > /dev/null
else
@ -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