Skip to content

Instantly share code, notes, and snippets.

@P4z
Created August 15, 2019 09:31
Show Gist options
  • Save P4z/1d823b4dea6e3c6fe0093856444db372 to your computer and use it in GitHub Desktop.
Save P4z/1d823b4dea6e3c6fe0093856444db372 to your computer and use it in GitHub Desktop.

Revisions

  1. P4z created this gist Aug 15, 2019.
    3 changes: 3 additions & 0 deletions zte.reroute-syslog.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    #!/bin/sh
    /bin/netstat -rn | grep ^195.54.122.206 > /dev/null
    if [[ $? -eq 1 ]] ; then /bin/iproute add 195.54.122.206/32 dev usb0; fi