ping: add more targets

This commit is contained in:
Nico Schottelius 2023-09-15 14:37:00 +02:00
parent 54b23ef7dd
commit 0d30d8627c

View file

@ -8,6 +8,18 @@ if tmux ls | grep ^${conn}:; then
fi fi
case "$conn" in case "$conn" in
rmgreen)
tmux new-session -s ${conn} -d ping 195.48.74.164
tmux split-window -t ${conn} -h ping 195.48.74.132
tmux split-window -t ${conn} -h ping 195.48.74.134
tmux select-layout -t ${conn} even-horizontal
tmux split-window -t ${conn} -v ping 195.48.74.135
tmux select-pane -t ${conn} -L
tmux split-window -t ${conn} -v ping 195.48.74.133
tmux select-pane -t ${conn} -L
tmux split-window -t ${conn} -v ping 195.48.74.165
tmux attach -t ${conn}
;;
rm) rm)
tmux new-session -s ${conn} -d ping 2a0f:98c0:1::2 tmux new-session -s ${conn} -d ping 2a0f:98c0:1::2
tmux split-window -t ${conn} -h ping 2a0f:98c0:2::2 tmux split-window -t ${conn} -h ping 2a0f:98c0:2::2
@ -32,6 +44,18 @@ case "$conn" in
tmux split-window -t ${conn} -v ping 2a0f:98c0:1::16 tmux split-window -t ${conn} -v ping 2a0f:98c0:1::16
tmux attach -t ${conn} tmux attach -t ${conn}
;; ;;
rmapugreen)
tmux new-session -s ${conn} -d ping 195.48.74.167
tmux split-window -t ${conn} -h ping 195.48.74.137
tmux split-window -t ${conn} -h ping 195.48.74.139
tmux select-layout -t ${conn} even-horizontal
tmux split-window -t ${conn} -v ping 195.48.74.140
tmux select-pane -t ${conn} -L
tmux split-window -t ${conn} -v ping 195.48.74.138
tmux select-pane -t ${conn} -L
tmux split-window -t ${conn} -v ping 195.48.74.168
tmux attach -t ${conn}
;;
rmv6) rmv6)
tmux new-session -s rmv6 -d ping 2a0f:98c0:7::1 tmux new-session -s rmv6 -d ping 2a0f:98c0:7::1
tmux split-window -t rmv6 -h ping 2a0f:98c0:3::1 tmux split-window -t rmv6 -h ping 2a0f:98c0:3::1