9 lines
212 B
Bash
Executable File
9 lines
212 B
Bash
Executable File
#!/bin/bash
|
|
# returns succesful when wsl interop is ready
|
|
shopt -s nullglob
|
|
if [ -f /proc/sys/fs/binfmt_misc/WSLInterop ] && \
|
|
sockets=(/run/WSL/*_interop) && [ -S "${sockets[0]:-}" ]; then
|
|
exit 0
|
|
fi
|
|
exit 1
|