From 46c8d0efb626596228bd41d4a7a81cd0b9f74924 Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 5 Oct 2023 23:51:45 -0400 Subject: [PATCH] added quick and bad bash scripts --- quote-run.sh | 21 +++++++++++++++++++++ server-run.sh | 29 +++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 quote-run.sh create mode 100644 server-run.sh diff --git a/quote-run.sh b/quote-run.sh new file mode 100644 index 0000000..4154217 --- /dev/null +++ b/quote-run.sh @@ -0,0 +1,21 @@ +# ============================================================================== +# Auth: Alex Celani +# File: quote-run.sh +# Revn: 10-05-2023 1.0 +# Func: run ekho client on login +# +# TODO: find a way to deprecate, this is kinda gross +# ============================================================================== +# CHANGE LOG +# ------------------------------------------------------------------------------ +#*10-05-2023: wrote +# commented +# +# ============================================================================= + +./client + +# it's encouraged to rename the binary something a little more unique +# organize in bin folder +# ~/bin/ekho + diff --git a/server-run.sh b/server-run.sh new file mode 100644 index 0000000..7f7adff --- /dev/null +++ b/server-run.sh @@ -0,0 +1,29 @@ +# ============================================================================== +# Auth: Alex Celani +# File: server-run.sh +# Revn: 10-05-2023 1.0 +# Func: keep ekho server running at all times +# +# TODO: fucking figure this shit out, chief +# ============================================================================== +# CHANGE LOG +# ------------------------------------------------------------------------------ +# 10-05-2023: thought +# +# ============================================================================== + +# if I do this +# ~/bin/ekho-server & +# I have no way I of restarting the process when it ends +# might need to look into using Signals to restart, may PID? + +# Other option is +# for # pseudo code, syntax isn't legit +# ~/bin/ekho-server +# ./server-run.sh +# self referential +# problem being, doing this will tie up the user, must be done on +# login by a kaz-like auto-login user that doesn't do anything other +# than run some helpful processes + +echo "lmfao dude"