parent
2003e685b0
commit
78fdab1285
1
install
1
install
|
@ -934,6 +934,7 @@ if [ "$icecast" = "t" ]; then
|
||||||
icecast_unit_name="icecast"
|
icecast_unit_name="icecast"
|
||||||
icecast_config="/etc/icecast.xml"
|
icecast_config="/etc/icecast.xml"
|
||||||
fi
|
fi
|
||||||
|
systemInitCommand enable ${icecast_unit_name}
|
||||||
# only update icecast password if
|
# only update icecast password if
|
||||||
if [ ! -e "/etc/airtime/airtime.conf" ] && [ ! -e "/etc/airtime/airtime.conf.tmp" ]; then
|
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};)
|
icecast_pass=$(< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c${1:-12};)
|
||||||
|
|
Loading…
Reference in New Issue