add timeout
This commit is contained in:
parent
9d9925fee2
commit
997162b5c1
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
|
||||
# NAS
|
||||
if ping -c1 192.168.1.200 &>/dev/null
|
||||
if timeout 0.2 ping -c1 192.168.1.200 &>/dev/null
|
||||
sudo mount -t drvfs 'Y:' /mnt/y -o metadata,uid=1000,gid=1000 2>/dev/null &
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue