60_debian_services.sh (254B)
1 #!/bin/bash 2 [[ "$(uname)" != "Linux" ]] && return 1 3 [[ "$(cat /etc/issue 2> /dev/null)" =~ Debian ]] || return 1 4 5 echo "Running MPD as a user service" 6 sudo systemctl disable mpd 7 systemctl --user enable mpd 8 9 echo "Uninstalling GDM 3" 10 sudo apt remove gdm3