From c210a59746c902ea4b083d536912b90621d0afa5 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Wed, 22 May 2024 18:41:38 -0400 Subject: Add example reconnect script --- scripts/reconnect.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 scripts/reconnect.sh (limited to 'scripts') diff --git a/scripts/reconnect.sh b/scripts/reconnect.sh new file mode 100644 index 0000000..92d9668 --- /dev/null +++ b/scripts/reconnect.sh @@ -0,0 +1,10 @@ +#!/bin/sh +set -u + +while :; do + catgirl "$@" + status=$? + if [ $status -ne 69 ]; then + exit $status + fi +done -- cgit 1.4.1