diff options
author | Marc Coquand <marc@mccd.space> | 2024-05-09 21:59:31 -0500 |
---|---|---|
committer | Marc Coquand <marc@mccd.space> | 2024-05-09 21:59:31 -0500 |
commit | 22f14de0cc375ab5aa2b8f4b3c11f99e8d431e7d (patch) | |
tree | 0e568101c9f1c9533582459d4980c4bcfb543a95 /hooks/post-up/network-manager | |
parent | f681e97b7deb9265227c67ff75b13feb6483287b (diff) | |
download | rcm-22f14de0cc375ab5aa2b8f4b3c11f99e8d431e7d.tar.gz rcm-22f14de0cc375ab5aa2b8f4b3c11f99e8d431e7d.tar.bz2 rcm-22f14de0cc375ab5aa2b8f4b3c11f99e8d431e7d.zip |
Fix networkmanager script
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 |