summaryrefslogtreecommitdiff
path: root/scripts/setup-config-alpine
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/setup-config-alpine')
-rwxr-xr-xscripts/setup-config-alpine3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/setup-config-alpine b/scripts/setup-config-alpine
index 8ea2347..a013dcb 100755
--- a/scripts/setup-config-alpine
+++ b/scripts/setup-config-alpine
@@ -62,7 +62,7 @@ doas mv "$tmp_xorg_file" /etc/X11/xorg.conf.d/40-libinput.conf
62 62
63tmp_doas_file=$(mktemp) 63tmp_doas_file=$(mktemp)
64cp /etc/doas.d/20-wheel.conf "$tmp_doas_file" 64cp /etc/doas.d/20-wheel.conf "$tmp_doas_file"
65for c in poweroff reboot; do 65for c in poweroff reboot ip udhcpc; do
66 printf 'permit nopass :wheel as root cmd %s\n' "$c" >> "$tmp_doas_file" 66 printf 'permit nopass :wheel as root cmd %s\n' "$c" >> "$tmp_doas_file"
67done 67done
68doas cp "$tmp_doas_file" /etc/doas.d/20-wheel.conf 68doas cp "$tmp_doas_file" /etc/doas.d/20-wheel.conf
@@ -116,6 +116,7 @@ NameResolvingService=resolvconf
116EOF 116EOF
117 117
118doas mv "$tmp_iwd_file" /etc/iwd/main.conf 118doas mv "$tmp_iwd_file" /etc/iwd/main.conf
119doas cp /dev/null /etc/network/interfaces
119 120
120doas rc-update add iwd boot 121doas rc-update add iwd boot
121doas rc-update del networking boot 122doas rc-update del networking boot

Generated with cgit - Back to sebastiano.tronto.net