diff options
| author | Blake Romero <blake@developercraft.com> | 2026-03-28 22:08:35 +0000 |
|---|---|---|
| committer | Blake Romero <blake@developercraft.com> | 2026-03-28 22:08:35 +0000 |
| commit | efe122309aff51ed6f1b5c0f277fd28266f93d6b (patch) | |
| tree | a28cef6f1658bbd70646c65e7db205daa0f997c4 /post-setup.sh | |
| parent | 05c27c05aa25c20f497edf399561ba700e9c76b4 (diff) | |
Add dhcpcd
Diffstat (limited to 'post-setup.sh')
| -rwxr-xr-x | post-setup.sh | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/post-setup.sh b/post-setup.sh index fda2cd4..b6247ea 100755 --- a/post-setup.sh +++ b/post-setup.sh @@ -16,7 +16,7 @@ user="blake" # Install additional packages apk add linux-stable git curl bash bash-completion \ vim vimdiff tmux colordiff \ - iwd openresolv impala \ + iwd openresolv dhcpcd impala \ ncurses acpi kbd xdg-user-dirs \ shellcheck fastfetch btop eza \ mandoc mandoc-apropos docs \ @@ -34,20 +34,27 @@ apk add linux-stable git curl bash bash-completion \ # WIFI: Switch wpa_supplicant to iwd # requires: iwd openresolv -sed 's/#\[General\]/\[General\]/; - s/#EnableNetworkConfiguration/EnableNetworkConfiguration/; - s/#\[Network\]/\[Network\]/; - s/#NameResolvingService/NameResolvingService/' \ - -i /etc/iwd/main.conf - -resolvconf -u +# uncomment if NOT using dhcpcd: +# +#sed 's/#\[General\]/\[General\]/; +# s/#EnableNetworkConfiguration/EnableNetworkConfiguration/; +# s/#\[Network\]/\[Network\]/; +# s/#NameResolvingService/NameResolvingService/' \ +# -i /etc/iwd/main.conf +# +#resolvconf -u +# rc-service wpa_supplicant stop + rc-service iwd start +rc-service dhcpcd start rc-update del networking boot rc-update del wpa_supplicant boot + rc-update add iwd boot +rc-update add dhcpcd boot # Set Caps key to CTRL # requires: kbd |
