Add 'o' shortcut to /etc/osmocom
This commit is contained in:
parent
1327a43c40
commit
2d82759f0a
1 changed files with 4 additions and 0 deletions
|
@ -55,6 +55,10 @@ r() {
|
||||||
sudo -i bash -c "cd /var/rhizomatica/rccn; exec bash --login"
|
sudo -i bash -c "cd /var/rhizomatica/rccn; exec bash --login"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
o() {
|
||||||
|
sudo -i bash -c "cd /etc/osmocom; exec bash --login"
|
||||||
|
}
|
||||||
|
|
||||||
rk_ext() {
|
rk_ext() {
|
||||||
IMSI=$(curl -X GET http://10.23.0.3:8098/buckets/hlr/index/msisdn_bin/$1 2>/dev/null| python -c "import sys, json; print json.load(sys.stdin)['keys'][0]")
|
IMSI=$(curl -X GET http://10.23.0.3:8098/buckets/hlr/index/msisdn_bin/$1 2>/dev/null| python -c "import sys, json; print json.load(sys.stdin)['keys'][0]")
|
||||||
echo $IMSI
|
echo $IMSI
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue