2023-11-06 00:27:31 +01:00
|
|
|
|
2022-03-30 19:29:58 +02:00
|
|
|
# NAS
|
2023-12-25 01:23:11 +01:00
|
|
|
if timeout 0.2 ping -c1 192.168.1.200 > /dev/null
|
2023-12-27 20:34:12 +01:00
|
|
|
sudo mount -t drvfs 'Y:' /mnt/y -o metadata,uid=1000,gid=1000 2> /dev/null &
|
2023-12-23 18:21:31 +01:00
|
|
|
end
|
2023-12-25 01:23:11 +01:00
|
|
|
|
2023-12-27 20:31:24 +01:00
|
|
|
# Sometimes the screen is getting lost
|
|
|
|
if not test -e /tmp/.X11-unix/X0
|
2023-12-25 01:23:11 +01:00
|
|
|
ln -sf /mnt/wslg/.X11-unix/X0 /tmp/.X11-unix/
|
|
|
|
end
|