mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-17 21:09:13 +02:00
Dockerfile backup script
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user