OGL2+3+4, BEM U15, LEM U15, SparkassenCup, HKR, ERzgebirgsrandori, Jugendturnier, Bambiniturnier

This commit is contained in:
marko
2024-11-13 13:39:36 +01:00
parent 9d423f2326
commit ab87070668
33 changed files with 3072 additions and 0 deletions

17
shiai/mnt-magenta Executable file
View File

@@ -0,0 +1,17 @@
# call to mount the magentacloud share via webdav
#! /usr/bin/env bash
# config variables
mountUser=$(whoami)
mntDir=~/mnt/magentacloud/judo.cwsv/
webdavUrl=https://magentacloud.de/remote.php/webdav
webdavUser=judo.cwsv@t-online.de
webdavPassword=$(pass show webdav/magentacloud/judo.cwsv@t-online.de)
# make sure sudo is enabled to nont get the sudo password prompt with the mount
sudo echo "sudo enabled!"
echo "Start mounting. This will take some seconds"
# pipe user/password to the mount
printf "${webdavUser}\n${webdavPassword}\n" | sudo mount -t davfs -o uid=$(id -u ${mountUser}),gid=$(id -g ${mountUser}) ${webdavUrl} ${mntDir} 1>/dev/null
echo "Mounting done!"