mirror of
https://github.com/tommytran732/Arch-Setup-Script
synced 2024-12-04 07:01:32 -05:00
Compare commits
2 Commits
9d9c42c414
...
9f56c5b0e2
Author | SHA1 | Date | |
---|---|---|---|
9f56c5b0e2 | |||
|
0e0cfa9f52 |
8
.github/workflows/shellcheck.yml
vendored
8
.github/workflows/shellcheck.yml
vendored
@ -28,10 +28,12 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
shellcheck:
|
shellcheck:
|
||||||
name: Bash syntax checker
|
name: Shell syntax checker
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Run ShellCheck
|
- name: Run ShellCheck
|
||||||
uses: ludeeus/action-shellcheck@master
|
uses: ludeeus/action-shellcheck@master
|
||||||
|
@ -509,7 +509,12 @@ fi
|
|||||||
if [ "${network_daemon}" = 'networkmanager' ]; then
|
if [ "${network_daemon}" = 'networkmanager' ]; then
|
||||||
mkdir -p /mnt/etc/systemd/system/NetworkManager.service.d/
|
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
|
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