From 56b873bae6e215a4459372cffbcc45bddb12c5c5 Mon Sep 17 00:00:00 2001 From: Marc Coquand Date: Fri, 10 May 2024 09:39:35 -0500 Subject: Hikari: Change quit command --- hooks/pre-up/3-void | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'hooks/pre-up') 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 -- cgit v1.2.3