Skip to content

Instantly share code, notes, and snippets.

@kubbur
kubbur / run-mac.sh
Last active August 27, 2024 20:08 — forked from dafta/usb-ether.sh
Steam Deck USB Ethernet
#!/bin/sh
# Path to your usb-eth.sh script
SCRIPT_PATH="/home/deck/usb-eth.sh"
# Check if the script exists and is executable
if [ -x "$SCRIPT_PATH" ]; then
# Run the script with sudo
sudo "$SCRIPT_PATH" start -n
else