diff options
author | Marc Coquand <marc@mccd.space> | 2024-05-10 09:39:35 -0500 |
---|---|---|
committer | Marc Coquand <marc@mccd.space> | 2024-05-10 09:39:35 -0500 |
commit | 56b873bae6e215a4459372cffbcc45bddb12c5c5 (patch) | |
tree | c6fcdf4e6d39c9f562c250a509a6e3ac7846f1e9 /hooks/pre-up/3-void | |
parent | 22f14de0cc375ab5aa2b8f4b3c11f99e8d431e7d (diff) | |
download | rcm-56b873bae6e215a4459372cffbcc45bddb12c5c5.tar.gz rcm-56b873bae6e215a4459372cffbcc45bddb12c5c5.tar.bz2 rcm-56b873bae6e215a4459372cffbcc45bddb12c5c5.zip |
Hikari: Change quit command
Diffstat (limited to 'hooks/pre-up/3-void')
-rwxr-xr-x | hooks/pre-up/3-void | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/hooks/pre-up/3-void b/hooks/pre-up/3-void index e0824c2..ab494c3 100755 --- a/hooks/pre-up/3-void +++ b/hooks/pre-up/3-void @@ -2,7 +2,14 @@ # We'll use xpkg from xtools to find installable packages if ! [ -x "$(command -v xpkg)" ]; then - sudo xbps-install xtools + sudo xbps-install -y xtools +fi + +if ! [ -x "$(command -v nmtui)" ]; then + sudo xbps-install -y NetworkManager + sudo ln -s /etc/sv/NetworkManager /var/service + sudo sv stop wpa_supplicant + sudo sv start NetworkManager fi # Set up file sync @@ -11,5 +18,5 @@ if [ ! -f ~/repository.list ]; then fi if [ ! "$(cat ~/repository.list | grep 'void-repo-nonfree')" ]; then - sudo xbps-install -Sy void-repo-nonfree + sudo xbps-install -y void-repo-nonfree fi |