fixed new line in php
This commit is contained in:
parent
9a027373e1
commit
edaa2ead85
2 changed files with 5 additions and 2 deletions
2
install
2
install
|
@ -894,7 +894,7 @@ if [ "$icecast" = "t" ]; then
|
|||
else
|
||||
icecast_unit_name="icecast"
|
||||
fi
|
||||
icecast_pass=$(< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c${1:-12};echo;)
|
||||
icecast_pass=$(< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c${1:-12};)
|
||||
echo $icecast_pass > /tmp/icecast_pass
|
||||
xmlstarlet ed --inplace -u /icecast/authentication/source-password -v $icecast_pass /etc/icecast2/icecast.xml
|
||||
xmlstarlet ed --inplace -u /icecast/authentication/relay-password -v $icecast_pass /etc/icecast2/icecast.xml
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue