Last active
February 13, 2019 12:19
-
-
Save dataich/843881 to your computer and use it in GitHub Desktop.
adding rooting through specific interface to network
This file contains 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 | |
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