Add a function for routing to a remote test BTS.

This commit is contained in:
Keith Whyte 2023-01-04 01:59:35 +01:00
parent 248e66351f
commit 54263dba7c

View file

@ -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
}