add Z
This commit is contained in:
parent
dbb260eb3e
commit
2d78039c3b
2 changed files with 5 additions and 1 deletions
|
@ -1,7 +1,10 @@
|
||||||
|
|
||||||
# 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
|
||||||
sudo mount -t drvfs 'Y:' /mnt/y -o metadata,uid=1000,gid=1000 2> /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
|
||||||
end
|
end
|
||||||
|
|
||||||
# Sometimes the screen is getting lost
|
# Sometimes the screen is getting lost
|
||||||
|
|
1
wsl.sh
1
wsl.sh
|
@ -73,6 +73,7 @@ function main {
|
||||||
|
|
||||||
# === Shared folders ==
|
# === Shared folders ==
|
||||||
sudo mkdir -p /mnt/y
|
sudo mkdir -p /mnt/y
|
||||||
|
sudo mkdir -p /mnt/z
|
||||||
|
|
||||||
|
|
||||||
# === Fish ==
|
# === Fish ==
|
||||||
|
|
Loading…
Reference in a new issue