summaryrefslogtreecommitdiff
path: root/hooks/pre-up
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xhooks/pre-up/1-ksh6
-rwxr-xr-xhooks/pre-up/3-void12
2 files changed, 3 insertions, 15 deletions
diff --git a/hooks/pre-up/1-ksh b/hooks/pre-up/1-ksh
index ba33b10..30dd8e1 100755
--- a/hooks/pre-up/1-ksh
+++ b/hooks/pre-up/1-ksh
@@ -1,6 +1,6 @@
#!/bin/sh
-if ! [ -x "$(command -v ksh)" ]; then
- sudo xbps-install -y ksh
- chsh -s /bin/ksh
+if ! [ -x "$(command -v mksh)" ]; then
+ sudo xbps-install -y mksh
+ echo "Installed, run chsh -s /bin/mksh"
fi
diff --git a/hooks/pre-up/3-void b/hooks/pre-up/3-void
index ab494c3..f8b7bc5 100755
--- a/hooks/pre-up/3-void
+++ b/hooks/pre-up/3-void
@@ -5,18 +5,6 @@ if ! [ -x "$(command -v xpkg)" ]; then
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
-if [ ! -f ~/repository.list ]; then
- xpkg -m > ~/repository.list
-fi
-
if [ ! "$(cat ~/repository.list | grep 'void-repo-nonfree')" ]; then
sudo xbps-install -y void-repo-nonfree
fi