Dockerfile backup script

This commit is contained in:
Alexandre
2021-11-26 13:25:30 +01:00
parent b048364a84
commit 3d52a905f1
11 changed files with 121 additions and 133 deletions

View File

@@ -26,7 +26,6 @@ if [ ! -f "/usr/bin/bashio" ]; then
mv /tmp/bashio/lib /usr/lib/bashio mv /tmp/bashio/lib /usr/lib/bashio
ln -s /usr/lib/bashio/bashio /usr/bin/bashio ln -s /usr/lib/bashio/bashio /usr/bin/bashio
rm -rf /tmp/bashio rm -rf /tmp/bashio
) >/dev/null 2>/aaa && \ ) >/dev/null
echo "Bashio installed" | cat /aaa
fi fi

View File

@@ -27,7 +27,6 @@ if [ ! -f "/usr/bin/bashio" ]; then
mv /tmp/bashio/lib /usr/lib/bashio mv /tmp/bashio/lib /usr/lib/bashio
ln -s /usr/lib/bashio/bashio /usr/bin/bashio ln -s /usr/lib/bashio/bashio /usr/bin/bashio
rm -rf /tmp/bashio rm -rf /tmp/bashio
) >/dev/null 2>/aaa && \ ) >/dev/null
echo "Bashio installed" | cat /aaa
fi fi

View File

@@ -25,7 +25,6 @@ if [ ! -f "/usr/bin/bashio" ]; then
mv /tmp/bashio/lib /usr/lib/bashio mv /tmp/bashio/lib /usr/lib/bashio
ln -s /usr/lib/bashio/bashio /usr/bin/bashio ln -s /usr/lib/bashio/bashio /usr/bin/bashio
rm -rf /tmp/bashio rm -rf /tmp/bashio
) >/dev/null 2>/aaa && \ ) >/dev/null
echo "Bashio installed" | cat /aaa
fi fi

View File

@@ -25,7 +25,6 @@ if [ ! -f "/usr/bin/bashio" ]; then
mv /tmp/bashio/lib /usr/lib/bashio mv /tmp/bashio/lib /usr/lib/bashio
ln -s /usr/lib/bashio/bashio /usr/bin/bashio ln -s /usr/lib/bashio/bashio /usr/bin/bashio
rm -rf /tmp/bashio rm -rf /tmp/bashio
) >/dev/null 2>/aaa && \ ) >/dev/null
echo "Bashio installed" | cat /aaa
fi fi

View File

@@ -33,7 +33,6 @@ if [ ! -f "/usr/bin/bashio" ]; then
######################################## ########################################
mkdir -p -m 777 /config/filebrowser || true mkdir -p -m 777 /config/filebrowser || true
) >/dev/null 2>/aaa && \ ) >/dev/null
echo "Bashio installed" | cat /aaa
fi fi

View File

@@ -23,7 +23,6 @@ if [ ! -f "/usr/bin/bashio" ]; then
mv /tmp/bashio/lib /usr/lib/bashio mv /tmp/bashio/lib /usr/lib/bashio
ln -s /usr/lib/bashio/bashio /usr/bin/bashio ln -s /usr/lib/bashio/bashio /usr/bin/bashio
rm -rf /tmp/bashio rm -rf /tmp/bashio
) >/dev/null 2>/aaa && \ ) >/dev/null
echo "Bashio installed" | cat /aaa
fi fi

View File

@@ -32,7 +32,6 @@ if [ ! -f "/usr/bin/bashio" ]; then
mv /tmp/bashio/lib /usr/lib/bashio mv /tmp/bashio/lib /usr/lib/bashio
ln -s /usr/lib/bashio/bashio /usr/bin/bashio ln -s /usr/lib/bashio/bashio /usr/bin/bashio
rm -rf /tmp/bashio rm -rf /tmp/bashio
) >/dev/null 2>/aaa && \ ) >/dev/null
echo "Bashio installed" | cat /aaa
fi fi

View File

@@ -36,7 +36,6 @@ if [ ! -f "/usr/bin/bashio" ]; then
mv /tmp/bashio/lib /usr/lib/bashio mv /tmp/bashio/lib /usr/lib/bashio
ln -s /usr/lib/bashio/bashio /usr/bin/bashio ln -s /usr/lib/bashio/bashio /usr/bin/bashio
rm -rf /tmp/bashio rm -rf /tmp/bashio
) >/dev/null 2>/aaa && \ ) >/dev/null
echo "Bashio installed" | cat /aaa
fi fi

View File

@@ -34,7 +34,6 @@ if [ ! -f "/usr/bin/bashio" ]; then
mv /tmp/bashio/lib /usr/lib/bashio mv /tmp/bashio/lib /usr/lib/bashio
ln -s /usr/lib/bashio/bashio /usr/bin/bashio ln -s /usr/lib/bashio/bashio /usr/bin/bashio
rm -rf /tmp/bashio rm -rf /tmp/bashio
) >/dev/null 2>/aaa && \ ) >/dev/null
echo "Bashio installed" | cat /aaa
fi fi

View File

@@ -54,12 +54,10 @@ if [ ! -f "/usr/bin/bashio" ]; then
sed -i 's|/downloads/|/share/qBittorrent/|g' /defaults/qBittorrent.conf sed -i 's|/downloads/|/share/qBittorrent/|g' /defaults/qBittorrent.conf
# Remove fixed folders, allows connection to webUI # Remove fixed folders, allows connection to webUI
sed '11,13d' /defaults/qBittorrent.conf \ sed '11,13d' /defaults/qBittorrent.conf
echo 'WebUI\HostHeaderValidation=false' \ echo 'WebUI\HostHeaderValidation=false' >>/defaults/qBittorrent.conf
echo 'WebUI\LocalHostAuth=false' >>/defaults/qBittorrent.conf \ echo 'WebUI\LocalHostAuth=false' >>/defaults/qBittorrent.conf
>>/defaults/qBittorrent.conf
) >/dev/null 2>/aaa && \ ) >/dev/null
echo "Bashio installed" | cat /aaa
fi fi

View File

@@ -29,7 +29,6 @@ if [ ! -f "/usr/bin/bashio" ]; then
mv /tmp/bashio/lib /usr/lib/bashio mv /tmp/bashio/lib /usr/lib/bashio
ln -s /usr/lib/bashio/bashio /usr/bin/bashio ln -s /usr/lib/bashio/bashio /usr/bin/bashio
rm -rf /tmp/bashio rm -rf /tmp/bashio
) >/dev/null 2>/aaa && \ ) >/dev/null
echo "Bashio installed" | cat /aaa
fi fi