diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2014-04-29 06:04:37 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2014-04-29 06:04:37 +0200 |
commit | 72461e7136c507c2f37447b05d6556cc9098e75b (patch) | |
tree | e7b158d3a9cf1edca4d0d3a14e25c47de21f8af3 | |
parent | Initial commit. (diff) | |
download | OpenBSC-Bootstrap-72461e7136c507c2f37447b05d6556cc9098e75b.tar.xz OpenBSC-Bootstrap-72461e7136c507c2f37447b05d6556cc9098e75b.zip |
Quite start, and add stop.
-rwxr-xr-x | start.sh | 8 | ||||
-rwxr-xr-x | stop.sh | 9 |
2 files changed, 13 insertions, 4 deletions
@@ -34,10 +34,10 @@ tmux send-keys -t BTS-Control "while ! /sbin/ss -n -l -t state listening src \"* tmux new-window -n HLR -t "$window_title" tmux send-keys -t HLR "watch -t -n 1 \"sqlite3 -column -header '$hlr_db' 'SELECT * from Subscriber ORDER BY expire_lu DESC'\"" Enter -tmux set-option -t "$window_title" status on -tmux set-option -t "$window_title" set-titles on -tmux set-option -t "$window_title" set-titles-string "GSM Base Station" -tmux set-option -t "$window_title" status-right "" +tmux set-option -q -t "$window_title" status on +tmux set-option -q -t "$window_title" set-titles on +tmux set-option -q -t "$window_title" set-titles-string "GSM Base Station" +tmux set-option -q -t "$window_title" status-right "" tmux kill-window -t close-me tmux select-window -t OpenBSC tmux attach -t "$window_title" @@ -0,0 +1,9 @@ +#!/bin/sh + +pkill -f 'watch.*sqlite3.*hlr' +pkill -f 'telnet 127.0.0.1 424[12]' +pkill osmo-nitb +pkill osmobts-trx +pkill osmo-trx +pkill lcr +tmux kill-session -t GSM |