mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
18 lines
455 B
Bash
18 lines
455 B
Bash
#!/usr/bin/with-contenv bashio
|
|
# shellcheck shell=bash
|
|
|
|
# Define home
|
|
HOME="/share/webtop"
|
|
mkdir -p $HOME
|
|
chown -R abc:abc $HOME
|
|
|
|
# Create symlinks
|
|
#for FOLDERS in ".config" ".local" "Desktop" "Documents" "Downloads" "Music" "Pictures" "Public" "Templates" "Videos" "thinclient_drives"; do
|
|
#mkdir -p $HOME/$FOLDERS
|
|
#if [ -d /config/$FOLDERS ]; then
|
|
# cp /config/$FOLDERS/* $HOME/$FOLDERS
|
|
# rm -r /config/$FOLDERS
|
|
#fi
|
|
#ln -s $HOME/$FOLDERS /config
|
|
#done
|