Add a couple more public subdirectories on mesh clients

This commit is contained in:
Bob Mottram 2017-12-03 19:50:47 +00:00
parent 206d683c01
commit a497c03195
1 changed files with 2 additions and 0 deletions

View File

@ -682,7 +682,9 @@ function setup_ipfs {
if [ ! -d /home/$MY_USERNAME/Public ]; then
mkdir -p /home/$MY_USERNAME/Public/Videos
mkdir -p /home/$MY_USERNAME/Public/Music
mkdir -p /home/$MY_USERNAME/Public/Podcasts
mkdir -p /home/$MY_USERNAME/Public/Documents
mkdir -p /home/$MY_USERNAME/Public/Pictures
echo $'Files within this directory will be publicly visible on the network' > /home/$MY_USERNAME/Public/README.txt
chown -R $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/Public
ln -s /home/$MY_USERNAME/Public /home/$MY_USERNAME/Desktop/Public