From 22f14de0cc375ab5aa2b8f4b3c11f99e8d431e7d Mon Sep 17 00:00:00 2001 From: Marc Coquand Date: Thu, 9 May 2024 21:59:31 -0500 Subject: Fix networkmanager script --- hooks/post-up/network-manager | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 hooks/post-up/network-manager (limited to 'hooks') diff --git a/hooks/post-up/network-manager b/hooks/post-up/network-manager new file mode 100755 index 0000000..6744f8f --- /dev/null +++ b/hooks/post-up/network-manager @@ -0,0 +1,8 @@ +#!/bin/sh + +if ! $(xpkg | grep -q NetworkManager); then + sudo xbps-install -y NetworkManager + sudo ln -s /etc/sv/NetworkManager /var/service + sudo sv stop wpa_supplicant + sudo sv start NetworkManager +fi -- cgit v1.2.3