diff --git a/ping_template.sh b/ping_template.sh index b5896a8..a9bdc88 100755 --- a/ping_template.sh +++ b/ping_template.sh @@ -1,6 +1,8 @@ #!/bin/sh -case "$1" in +conn=$1; shift + +case "$conn" in rm) tmux new-session -s ping_rm -d ping 2a0f:98c0:1::2 tmux split-window -t ping_rm -h ping 2a0f:98c0:2::2 @@ -37,4 +39,8 @@ case "$1" in tmux split-window -t rmv4 -v ping 147.78.193.10 tmux attach -t rmv4 ;; + ungleich) + tmux new-session -s "$conn" -d ping nico-vm.schottelius.org + tmux split-window -t "$conn" -h ping 147.78.192.9 + ;; esac