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

Compare commits

..

1 Commits

Author SHA1 Message Date
funk-on-code
4b87b34455
Merge 162f026966 into cffea037c4 2024-08-23 22:54:54 +02:00
2 changed files with 5 additions and 12 deletions

View File

@ -28,12 +28,10 @@ on:
jobs:
shellcheck:
name: Shell syntax checker
runs-on: ubuntu-24.04
permissions:
contents: read
name: Bash syntax checker
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
uses: ludeeus/action-shellcheck@master

View File

@ -458,7 +458,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 /mnt/etc/sysconfig/chronyd > /dev/null
unpriv curl -s https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/sysconfig/chronyd | tee /etc/sysconfig/chronyd > /dev/null
## Remove nullok from system-auth
sed -i 's/nullok//g' /mnt/etc/pam.d/system-auth
@ -520,12 +520,7 @@ 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
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
fi
## Configuring the system.
arch-chroot /mnt /bin/bash -e <<EOF