From 78fdab128558a624fff7c7054c310ce03c09a373 Mon Sep 17 00:00:00 2001
From: Kyle Robbertze <kyle@paddatrapper.com>
Date: Mon, 26 Oct 2020 12:06:34 +0200
Subject: [PATCH] enable icecast service during install

fixes #1096
---
 install | 1 +
 1 file changed, 1 insertion(+)

diff --git a/install b/install
index ae2b8a870..fb4ce7b3f 100755
--- a/install
+++ b/install
@@ -934,6 +934,7 @@ if [ "$icecast" = "t" ]; then
         icecast_unit_name="icecast"
 	icecast_config="/etc/icecast.xml"
     fi
+    systemInitCommand enable ${icecast_unit_name}
     # only update icecast password if 
     if [ ! -e "/etc/airtime/airtime.conf" ] && [ ! -e "/etc/airtime/airtime.conf.tmp" ]; then
         icecast_pass=$(< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c${1:-12};)