Initial upload

This commit is contained in:
Alexandre
2022-02-01 09:35:17 +01:00
parent c15c4a7707
commit abced9f38e
11 changed files with 414 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
#!/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