Fix two superflous warnings

This commit is contained in:
Max Winterstein
2021-01-04 00:12:20 +01:00
parent 5ba8dab20a
commit 001d41b342
3 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
# begin hass addon custom mount block
echo "Symlinking data dir"
mv /opt/iobroker /opt/iobroker_ori # move image brought folder away
mkdir /data/iobroker || echo 'Thats fine, data folder already exists'
mkdir -p /data/iobroker
ln -s /data/iobroker /opt/iobroker # symlink /data mount
if find /data/iobroker -maxdepth 0 -empty | read v; then
echo "Data folder looks unused, will copy initial stuff"