fix mounting
This commit is contained in:
parent
2d78039c3b
commit
e3b13536bc
1 changed files with 3 additions and 4 deletions
|
@ -1,10 +1,9 @@
|
|||
|
||||
# NAS
|
||||
if timeout 0.2 ping -c1 192.168.1.200 > /dev/null
|
||||
for drive in 'Y' 'Z'
|
||||
sudo mount -t drvfs $drive: /mnt/$drive \
|
||||
-o metadata,uid=$(id -u),gid=$(id -g) 2> /dev/null &
|
||||
end
|
||||
set -l options metadata,uid=$(id -u),gid=$(id -g)
|
||||
sudo mount -t drvfs "Y:" /mnt/y -o $(options) 2> /dev/null &
|
||||
sudo mount -t drvfs "Z:" /mnt/z -o $(options) 2> /dev/null &
|
||||
end
|
||||
|
||||
# Sometimes the screen is getting lost
|
||||
|
|
Loading…
Reference in a new issue