Add a function for routing to a remote test BTS.
This commit is contained in:
parent
248e66351f
commit
54263dba7c
1 changed files with 6 additions and 0 deletions
|
@ -288,4 +288,10 @@ smsq-max()
|
|||
send "sms-queue trigger\r"; expect "#";'
|
||||
}
|
||||
|
||||
remote-bts() {
|
||||
if [ "$1" == "" ]; then
|
||||
ip route add 172.16.0.99 src 172.16.0.1 via 10.23.100.21 dev rhizomatica
|
||||
else
|
||||
ip route del 172.16.0.99
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue