made sure icecast_pass was copied to airtime directory upon reprovision
This commit is contained in:
parent
cbf999bd09
commit
1c89675f6e
7
install
7
install
|
@ -1118,11 +1118,12 @@ if [ ! -d "/etc/airtime" ]; then
|
||||||
|
|
||||||
verbose "\n * Creating /etc/airtime/ directory..."
|
verbose "\n * Creating /etc/airtime/ directory..."
|
||||||
mkdir /etc/airtime
|
mkdir /etc/airtime
|
||||||
# need to copy the icecast_pass from temp to /etc/airtime so installer can read it
|
|
||||||
cp /tmp/icecast_pass /etc/airtime/icecast_pass
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! -f "/etc/airtime/airtime.conf" ]; then
|
||||||
|
# need to copy the icecast_pass from temp to /etc/airtime so web-based installer can read it
|
||||||
|
cp /tmp/icecast_pass /etc/airtime/icecast_pass
|
||||||
|
fi
|
||||||
|
|
||||||
chown -R ${web_user}:${web_user} /etc/airtime
|
chown -R ${web_user}:${web_user} /etc/airtime
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue