Skip to content

Instantly share code, notes, and snippets.

@dataich
Last active February 13, 2019 12:19
Show Gist options
  • Save dataich/843881 to your computer and use it in GitHub Desktop.
Save dataich/843881 to your computer and use it in GitHub Desktop.
adding rooting through specific interface to network
#!/bin/sh
if [ "$1" = "ppp0" ]; then
/sbin/route -nv add -net 192.168.13 -interface ppp0
/sbin/route -nv add -net 192.168.15 -interface ppp0
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment