Add sms_db param and sms() shell function
This commit is contained in:
parent
d5b67e7b63
commit
30bc66ca71
5 changed files with 11 additions and 3 deletions
|
@ -2,7 +2,8 @@
|
|||
# Shell Functions for Rhizomatica Community Celular Network
|
||||
#
|
||||
|
||||
OSMO_HLR="<%= @sq_hlr_path %>"
|
||||
OSMO_HLR="<%= @hlr_db %>"
|
||||
OSMO_SMS="<%= @sms_db %>"
|
||||
DID="<%= @voip_did %>"
|
||||
|
||||
waitfor0calls () {
|
||||
|
@ -43,6 +44,10 @@ hlr() {
|
|||
sudo /usr/bin/sqlite3 -column -header $OSMO_HLR
|
||||
}
|
||||
|
||||
sms() {
|
||||
sudo /usr/bin/sqlite3 -column -header $OSMO_SMS
|
||||
}
|
||||
|
||||
tl() {
|
||||
if [ "$1" == "" ] ; then
|
||||
tail -f /var/log/rccn/*log
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue