blob: 7f63ec9f433ed51ae0245a9aef0c5802b02c3c84 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#!/bin/sh
if [ ! "$(id -u)" -eq 0 ]; then
echo "Script must be run as root";
exit 1
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
|