diff options
Diffstat (limited to '')
-rwxr-xr-x | hooks/post-up/network-manager | 8 |
1 files changed, 8 insertions, 0 deletions
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 |