#!/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