Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script to add persistent TEDAPI network routing. #520

Merged
merged 7 commits into from
Sep 16, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add prompts to exit in add_route.sh for better WinOS user experience
  • Loading branch information
jasonacox committed Sep 16, 2024
commit abdbca77c74ffb9e504e63f479da5822a8337a3e
2 changes: 2 additions & 0 deletions add_route.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ if [[ "${OS}" == "Linux" ]]; then
echo "To add the route, open an Administrator Shell in Windows and run:"
echo " route -p add ${TARGET_IP} mask ${NETMASK} ${PW_IP}"
echo ""
read -p "Press Enter to exit..."
exit 1
else
echo "Native Linux detected"
Expand Down Expand Up @@ -108,6 +109,7 @@ elif [[ "${OS}" =~ MINGW* || "${OS}" =~ CYGWIN* ]]; then
echo "Route added successfully."
else
echo "Failed to add the route. Please ensure you are running as Administrator."
read -p "Press Enter to exit..."
exit 1
fi
echo ""
Expand Down