10 lines
173 B
Bash
Executable file
10 lines
173 B
Bash
Executable file
#!/usr/bin/env bash
|
|
. ~/.bash_ssh
|
|
TARGET="t2"
|
|
if [ "$(hostname -s)" == "${TARGET}" ]
|
|
then
|
|
HOST=loki
|
|
else
|
|
HOST=${TARGET}
|
|
fi
|
|
ssh "${HOST}" "/home/don/bin/myweb ${QUTE_URL}"
|