This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |