commit 3362b28bf46b7b120b87b1ebf41623447154e846
parent 933f6b4867ffdfc3f69c72a70f36a96f81cad9b6
Author: ccx <ccx@te2000.cz>
Date: Mon, 20 May 2024 12:19:32 +0000
Setup rfkill device
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/zsh-functions/confz_site_containers_init b/zsh-functions/confz_site_containers_init
@@ -263,7 +263,9 @@ confz_site_container_services_check() {
# image_name=alpine-dev
local -a el_rfkill_and_sys=(
"#!$(which execlineb) -P"
+ 'importas -i GID GID'
'if { mknod -m 660 /dev/rfkill c 10 242 }'
+ 'if { chown 0:${GID} /dev/rfkill }'
'mount -t sysfs sysfs sys'
)
SUCa wpa_supplicant linux_caps='^CAP_NET_ADMIN,^CAP_NET_RAW' \