aboutsummaryrefslogtreecommitdiffhomepage
path: root/threadcat-write.sh
diff options
context:
space:
mode:
authorColin Okay <colin@cicadas.surf>2022-08-15 07:28:58 -0500
committerColin Okay <colin@cicadas.surf>2022-08-15 07:28:58 -0500
commitb5a258652de9bf6b8f0c56e13720240e444bd93b (patch)
tree048b71666f51b7638a07a891d8f1edaa4d4f14da /threadcat-write.sh
parentd6f05e96cb5b139b1ea0ad7a166205d9e31c2440 (diff)
[add] toplevel threadcat script; [altered] command scripts to fit
Diffstat (limited to 'threadcat-write.sh')
-rwxr-xr-xthreadcat-write.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/threadcat-write.sh b/threadcat-write.sh
index 78b436f..aff794b 100755
--- a/threadcat-write.sh
+++ b/threadcat-write.sh
@@ -3,7 +3,7 @@
THREAD_NAME=$1
if [ ! -z "${THREAD_NAME}" ]; then
- cat - | ssh $CICADAS_USER@cicadas.surf "umask 002 && echo `whoami` -- `date` >> /opt/threadcat/$THREAD_NAME && cat - >> /opt/threadcat/$THREAD_NAME"
+ cat - | ssh $THREADCAT_USER "umask 002 && echo `whoami` -- `date` >> /opt/threadcat/$THREAD_NAME && cat - >> /opt/threadcat/$THREAD_NAME"
echo Posted to $THREAD_NAME
else
echo You did not provide a thread name.