mirror of
https://github.com/tommytran732/Arch-Setup-Script
synced 2024-12-03 22:51:33 -05:00
Compare commits
4 Commits
9ebaf176b3
...
2de90fd16c
Author | SHA1 | Date | |
---|---|---|---|
|
2de90fd16c | ||
9f56c5b0e2 | |||
|
0e0cfa9f52 | ||
|
f0d50359de |
8
.github/workflows/shellcheck.yml
vendored
8
.github/workflows/shellcheck.yml
vendored
@ -28,10 +28,12 @@ on:
|
||||
|
||||
jobs:
|
||||
shellcheck:
|
||||
name: Bash syntax checker
|
||||
runs-on: ubuntu-latest
|
||||
name: Shell syntax checker
|
||||
runs-on: ubuntu-24.04
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
- name: Run ShellCheck
|
||||
uses: ludeeus/action-shellcheck@master
|
||||
uses: ludeeus/action-shellcheck@master
|
||||
|
10
install.sh
10
install.sh
@ -462,8 +462,9 @@ mkdir -p /mnt/etc/systemd/system/sshd.service.d/
|
||||
unpriv curl -s https://raw.githubusercontent.com/GrapheneOS/infrastructure/main/systemd/system/sshd.service.d/local.conf | tee /mnt/etc/systemd/system/sshd.service.d/override.conf > /dev/null
|
||||
|
||||
## Disable coredump
|
||||
[ ! -d "/mnt/etc/security/limits.d" ]; mkdir -p /mnt/etc/security/limits.d
|
||||
unpriv curl -s https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/security/limits.d/30-disable-coredump.conf | tee /mnt/etc/security/limits.d/30-disable-coredump.conf > /dev/null
|
||||
mkdir -p /mnt/etc/systemd/coredump.conf.d
|
||||
[ ! -d "/mnt/etc/systemd/coredump.conf.d" ]; mkdir -p /mnt/etc/systemd/coredump.conf.d
|
||||
unpriv curl -s https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/systemd/coredump.conf.d/disable.conf | tee /mnt/etc/systemd/coredump.conf.d/disable.conf > /dev/null
|
||||
|
||||
# Disable XWayland
|
||||
@ -509,7 +510,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