From aa04f039627f767442dedaa45b8e2f23ea6daa51 Mon Sep 17 00:00:00 2001 From: Alvin Schiller <103769832+AlvinSchiller@users.noreply.github.com> Date: Fri, 17 Nov 2023 22:25:56 +0100 Subject: [PATCH] some changes --- installation/routines/setup_mpd.sh | 5 ----- installation/routines/update_raspi_os.sh | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/installation/routines/setup_mpd.sh b/installation/routines/setup_mpd.sh index 4071ae700..b8b46a703 100644 --- a/installation/routines/setup_mpd.sh +++ b/installation/routines/setup_mpd.sh @@ -39,12 +39,9 @@ _mpd_check () { verify_file_contains_string "${AUDIOFOLDERS_PATH}" "${MPD_CONF_PATH}" verify_file_contains_string "${PLAYLISTS_PATH}" "${MPD_CONF_PATH}" - # test ! "$DOCKER_RUNNING" == true && check_service_state mpd.socket inactive # not valid in Docker test - # test ! "$DOCKER_RUNNING" == true && check_service_state mpd inactive # not valid in Docker test check_service_enablement mpd.socket disabled check_service_enablement mpd disabled - # check_service_state mpd active --user check_service_enablement mpd.socket enabled --user check_service_enablement mpd enabled --user } @@ -86,8 +83,6 @@ setup_mpd() { systemctl --user daemon-reload systemctl --user enable mpd.socket systemctl --user enable mpd - # Start MPD now, but not the socket: MPD is already started and we expect a reboot anyway - # systemctl --user start mpd _mpd_check fi diff --git a/installation/routines/update_raspi_os.sh b/installation/routines/update_raspi_os.sh index 4f3f2d3d1..7c27042d6 100644 --- a/installation/routines/update_raspi_os.sh +++ b/installation/routines/update_raspi_os.sh @@ -3,7 +3,7 @@ update_raspi_os() { echo "Updating Raspberry Pi OS" | tee /dev/fd/3 - sudo apt-get -qq -y update && sudo apt-get -qq -y full-upgrade && sudo apt-get -qq -y autoremove || exit_on_error "Failed to Update Raspberry Pi OS" + sudo apt-get -qq -y update && sudo apt-get -qq -y full-upgrade && sudo apt-get -qq -y autoremove # || exit_on_error "Failed to Update Raspberry Pi OS" echo "DONE: update_raspi_os" }