larbs

Luke's Auto-Rice Bootstrapping Scripts: Auto-Setup & Configure Arch Linux
Log | Files | Refs | README | LICENSE

commit 7d8306e18be584160c3057881fa92af7e2591e04
parent f396d96f1d499601a96f180b81f3526a0034df5b
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Sat, 23 Nov 2019 22:01:33 -0500

LARBS no longer handles init services

Diffstat:
Mlarbs.sh | 14--------------
1 file changed, 0 insertions(+), 14 deletions(-)

diff --git a/larbs.sh b/larbs.sh @@ -142,17 +142,6 @@ putgitrepo() { # Downlods a gitrepo $1 and places the files in $2 only overwriti sudo -u "$name" cp -rfT "$dir/gitrepo" "$2" } -case "$(readlink /sbin/init)" in - runit*) serviceinit(){ ln -s "/etc/runit/sv/$1" /run/runit/service; sv restart "$1" ;} ;; - openrc*) serviceinit() { rc-update add "$1" default ;} ;; - *) serviceinit(){ systemctl enable "$1"; systemctl start "$1" ;} ;; -esac - -serviceinitwrap() { for service in "$@"; do - dialog --infobox "Enabling \"$service\"..." 4 40 - serviceinit "$service" - done ;} - systembeepoff() { dialog --infobox "Getting rid of that retarded error beep sound..." 10 50 rmmod pcspkr echo "blacklist pcspkr" > /etc/modprobe.d/nobeep.conf ;} @@ -218,9 +207,6 @@ installationloop putgitrepo "$dotfilesrepo" "/home/$name" "$repobranch" rm -f "/home/$name/README.md" "/home/$name/LICENSE" -# Enable services here. -serviceinitwrap NetworkManager cronie - # Most important command! Get rid of the beep! systembeepoff