diff options
author | Marc Coquand <marc@mccd.space> | 2024-06-30 17:21:04 -0500 |
---|---|---|
committer | Marc Coquand <marc@mccd.space> | 2024-06-30 17:21:04 -0500 |
commit | 9d2684facef7d872712d7fc740039dfcbd2ba32e (patch) | |
tree | 5edb2d2d13b27b9d6a590482f7ef7ba4e3274ae4 /hooks/post-up/services | |
parent | 7035480dba8fc78148092bf738194485093fa65e (diff) | |
download | rcm-main.tar.gz rcm-main.tar.bz2 rcm-main.zip |
Diffstat (limited to 'hooks/post-up/services')
-rwxr-xr-x | hooks/post-up/services | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/hooks/post-up/services b/hooks/post-up/services deleted file mode 100755 index 0d36f7d..0000000 --- a/hooks/post-up/services +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh - -if [ $(ls /var/service | grep elogind -c) -eq 0 ] -then - doas xbps-install -y elogind - doas ln -s /etc/sv/elogind /var/service/ - sleep 5 - doas sv start elogind -fi - -if [ $(ls /var/service | grep NetworkManager -c) -eq 0 ] -then - doas xbps-install -y NetworkManager dbus - doas ln -s /etc/sv/NetworkManager /var/service/ - doas ln -s /etc/sv/dbus /var/service - doas sv stop wpa_supplicant - doas sv stop dhcpcd - doas unlink /var/service/wpa_supplicant - doas unlink /var/service/dhcpcd - sleep 5 - doas sv start dbus - doas sv start NetworkManager -fi - -echo "Services setup; logout and in, then run xsync" |