first commit

This commit is contained in:
2023-08-26 16:14:53 -05:00
commit bf38f42229
109 changed files with 3882 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
#!/bin/bash
if ping -c 2 192.168.1.41 > /dev/null 2>&1
then
if [[ ! -f /mnt/truenasfileserver/.gitignore ]]
then
sudo mount -t nfs -o defaults,nolock,soft,vers=4.2 192.168.1.41:/mnt/data/fileserver /mnt/truenasfileserver -v
else
echo "TrueNAS shared folder already mounted"
fi
else
echo "TrueNAS is offline"
fi