updates
This commit is contained in:
+2
-2
@@ -27,7 +27,7 @@ if ping -c 1 -W 1 "$HOST" >/dev/null 2>&1; then
|
||||
"credentials=/home/honney/.cred/samba_credentials,uid=1000,gid=1000,vers=3.0,cache=none,nounix,noserverino,file_mode=0755,dir_mode=0755"
|
||||
fi
|
||||
|
||||
if ping -c 1 -W 1 "100.64.0.3" >/dev/null 2>&1; then
|
||||
if ping -c 1 -W 1 "192.168.188.122" >/dev/null 2>&1; then
|
||||
# Mount Data (from fstab line 2)
|
||||
mount_cifs "//100.64.0.3/Data" \
|
||||
"/home/honney/mount/Data" \
|
||||
@@ -48,7 +48,7 @@ if ping -c 1 -W 1 "100.64.0.3" >/dev/null 2>&1; then
|
||||
"/home/honney/mount/Apps" \
|
||||
"credentials=/home/honney/.cred/trueNAS_credentials,vers=3.1.1,iocharset=utf8,rw,uid=1000,gid=1000,nounix,noperm,file_mode=0660,dir_mode=0770,hard,intr,cache=loose"
|
||||
|
||||
elif ping -c 1 -W 1 "192.168.188.122" >/dev/null 2>&1; then
|
||||
elif ping -c 1 -W 1 "100.64.0.3" >/dev/null 2>&1; then
|
||||
# Mount Data (from fstab line 2)
|
||||
mount_cifs "//192.168.188.122/Data" \
|
||||
"/home/honney/mount/Data" \
|
||||
|
||||
Reference in New Issue
Block a user