mount condition

This commit is contained in:
Mylloon 2023-12-23 18:21:31 +01:00
parent 00bb66a7d9
commit f350390c3f
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -1,3 +1,5 @@
# NAS
sudo mount -t drvfs 'Y:' /mnt/y -o metadata,uid=1000,gid=1000 2>/dev/null &
if ping -c 1 192.168.1.200
sudo mount -t drvfs 'Y:' /mnt/y -o metadata,uid=1000,gid=1000 2>/dev/null &
end