mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-25 14:06:28 +01:00
16 lines
420 B
Bash
16 lines
420 B
Bash
#!/usr/bin/with-contenv bashio
|
|
|
|
HOME=${HOME:-/share/webtop}
|
|
mkdir -p $HOME
|
|
chown -R abc:abc $HOME
|
|
bashio::log.info "Your files are located in $HOME"
|
|
|
|
#for FOLDERS in "Desktop" "thinclient_drives" ".config"; do
|
|
#mkdir -p /share/webtop-alpine/$FOLDERS
|
|
#if [ -d /config/$FOLDERS ]; then
|
|
# cp /config/$FOLDERS/* /share/webtop-alpine/$FOLDERS
|
|
# rm -r /config/$FOLDERS
|
|
#fi
|
|
#ln -s /share/webtop-alpine/$FOLDERS /config
|
|
#done
|