From 0da9ed132fa23e49a7b2d6fcb51c73899fc9d8f7 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 26 Nov 2017 21:35:30 +0000 Subject: [PATCH] Remove icecast onion address --- src/freedombone-app-icecast | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/freedombone-app-icecast b/src/freedombone-app-icecast index ff112d14..ce3ffe05 100755 --- a/src/freedombone-app-icecast +++ b/src/freedombone-app-icecast @@ -526,6 +526,8 @@ function remove_icecast { if [ -d /etc/ices2 ]; then rm -rf /etc/ices2 fi + function_check remove_onion_service + remove_onion_service icecast ${ICECAST_ONION_PORT} sed -i '/icecast/d' $COMPLETION_FILE } @@ -534,6 +536,7 @@ function install_icecast { apt-get -yq update debconf-set-selections <<< "icecast2 icecast2/icecast-setup boolean false" + apt-get -yq install icecast2 apt-get -yq install icecast2 ices2 ffmpeg apache2-utils if [ ! -f /etc/icecast2/icecast.xml ]; then