Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- IFS='.' read -ra IPARR <<< "$IP"
- Gateway="${IPARR[0]}.${IPARR[1]}.${IPARR[2]}.14"
- ssh blah@$IP '/sbin/route -v del default gw $Gateway;'
- #ssh blah@$IP '/sbin/ip route delete $Gateway dev rndis0;'
- #ssh blah@$IP '/sbin/route -n'
- ssh blah@$IP "/sbin/route -v del default gw $Gateway;"
Add Comment
Please, Sign In to add comment