mirror of
https://github.com/tommytran732/Arch-Setup-Script
synced 2024-10-29 16:21:33 -04:00
Compare commits
1 Commits
581225cc27
...
4b87b34455
Author | SHA1 | Date | |
---|---|---|---|
|
4b87b34455 |
6
.github/workflows/shellcheck.yml
vendored
6
.github/workflows/shellcheck.yml
vendored
@ -28,10 +28,8 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
shellcheck:
|
shellcheck:
|
||||||
name: Shell syntax checker
|
name: Bash syntax checker
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -458,7 +458,7 @@ fi
|
|||||||
|
|
||||||
## Setup NTS
|
## 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/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
|
## Remove nullok from system-auth
|
||||||
sed -i 's/nullok//g' /mnt/etc/pam.d/system-auth
|
sed -i 's/nullok//g' /mnt/etc/pam.d/system-auth
|
||||||
@ -522,11 +522,6 @@ if [ "${network_daemon}" = 'networkmanager' ]; then
|
|||||||
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
|
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.
|
## Configuring the system.
|
||||||
arch-chroot /mnt /bin/bash -e <<EOF
|
arch-chroot /mnt /bin/bash -e <<EOF
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user