diff options
Diffstat (limited to 'post-setup.sh')
| -rwxr-xr-x | post-setup.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/post-setup.sh b/post-setup.sh index 671cf13..7f63ec9 100755 --- a/post-setup.sh +++ b/post-setup.sh @@ -9,3 +9,21 @@ fi # Install additional packages apk add linux-stable git bash vim tmux \ ncurses acpi shellcheck fastfetch btop eza + +# WIFI: Switch wpa_supplicant to iwd +apk add iwd openresolv + +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-update del networking boot +rc-update del wpa_supplicant boot +rc-update add iwd boot |
