Ubuntu Pastebin

Paste from hunt at Thu, 26 Mar 2015 06:31:25 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
#!/bin/sh
#
# $1: interface-name
# $2: tty-device
# $3: speed
# $4: local-IP-address
# $5: remote-IP-address
# $6: ipparam

test $6 = "some-provider" || exit 0

# global route
ip route replace 0.0.0.0/1 dev $1
ip route replace 128.0.0.0/1 dev $1
Download as text