Skip to content
Snippets Groups Projects
Commit 47d39181 authored by Bob Mottram's avatar Bob Mottram
Browse files

Store original config

parent 82c84ab1
No related branches found
No related tags found
No related merge requests found
......@@ -600,6 +600,13 @@ function install_icecast {
mkdir -p /etc/ices2
fi
# store the original config if it exists
if [ -f /etc/ices2/ices-playlist.xml ]; then
if [ ! -f /etc/ices2/ices-playlist.orig ]; then
mv /etc/ices2/ices-playlist.xml /etc/ices2/ices-playlist.orig
fi
fi
{ echo '<?xml version="1.0"?>';
echo '<ices>';
echo ' <!-- run in background -->';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment