From 9d2684facef7d872712d7fc740039dfcbd2ba32e Mon Sep 17 00:00:00 2001 From: Marc Coquand Date: Sun, 30 Jun 2024 17:21:04 -0500 Subject: Remove void hooks --- hooks/post-up/permissions | 4 ---- hooks/post-up/services | 25 ------------------------- 2 files changed, 29 deletions(-) delete mode 100755 hooks/post-up/permissions delete mode 100755 hooks/post-up/services (limited to 'hooks/post-up') diff --git a/hooks/post-up/permissions b/hooks/post-up/permissions deleted file mode 100755 index a2fda88..0000000 --- a/hooks/post-up/permissions +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -chmod 600 ~/.config/aerc/accounts.conf -chmod 700 ~/.gnupg 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" -- cgit v1.2.3