Homelab/start.sh

9 lines
189 B
Bash
Raw Permalink Normal View History

#!/bin/sh
# Check if running environment is WSL
if [ -f /proc/sys/fs/binfmt_misc/WSLInterop ]; then
bridges=$(VBoxManage.exe list bridgedifs | grep ^Name: -A 11)
echo $bridges
fi