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
|
# NAS
|
||||||
if timeout 0.2 ping -c1 192.168.1.200 > /dev/null
|
if timeout 0.2 ping -c1 192.168.1.200 > /dev/null
|
||||||
for drive in 'Y' 'Z'
|
set -l options metadata,uid=$(id -u),gid=$(id -g)
|
||||||
sudo mount -t drvfs $drive: /mnt/$drive \
|
sudo mount -t drvfs "Y:" /mnt/y -o $(options) 2> /dev/null &
|
||||||
-o metadata,uid=$(id -u),gid=$(id -g) 2> /dev/null &
|
sudo mount -t drvfs "Z:" /mnt/z -o $(options) 2> /dev/null &
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
# Sometimes the screen is getting lost
|
# Sometimes the screen is getting lost
|
||||||
|
|
Loading…
Reference in a new issue