Add utility function to open old HLR db
This commit is contained in:
parent
fcda7401f4
commit
2965ecdaf6
1 changed files with 5 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
||||||
# Shell Functions for Rhizomatica Community Celular Network
|
# Shell Functions for Rhizomatica Community Celular Network
|
||||||
#
|
#
|
||||||
|
|
||||||
|
OSMO_HLR_OLD="/var/lib/osmocom/hlr.sqlite3"
|
||||||
OSMO_HLR="<%= @hlr_db %>"
|
OSMO_HLR="<%= @hlr_db %>"
|
||||||
OSMO_SMS="<%= @sms_db %>"
|
OSMO_SMS="<%= @sms_db %>"
|
||||||
DID="<%= @voip_did %>"
|
DID="<%= @voip_did %>"
|
||||||
|
@ -44,6 +45,10 @@ hlr() {
|
||||||
sudo /usr/bin/sqlite3 -column -header $OSMO_HLR
|
sudo /usr/bin/sqlite3 -column -header $OSMO_HLR
|
||||||
}
|
}
|
||||||
|
|
||||||
|
hlr2() {
|
||||||
|
sudo /usr/bin/sqlite3 -column -header $OSMO_HLR_OLD
|
||||||
|
}
|
||||||
|
|
||||||
sms() {
|
sms() {
|
||||||
sudo /usr/bin/sqlite3 -column -header $OSMO_SMS
|
sudo /usr/bin/sqlite3 -column -header $OSMO_SMS
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue