aboutsummaryrefslogtreecommitdiffstats
path: root/service/upload.sh
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2021-06-15 19:07:43 +0200
committerLouis Burda <quent.burda@gmail.com>2021-06-15 19:10:41 +0200
commite13e2c357356887b9b0b5886ba7c0003e7225791 (patch)
treeac347cb82a8549253798607650b529b5b6492fed /service/upload.sh
parentaca639afe8c435f45ccc1864c42236252646fff9 (diff)
downloadenowars5-service-stldoctor-e13e2c357356887b9b0b5886ba7c0003e7225791.tar.gz
enowars5-service-stldoctor-e13e2c357356887b9b0b5886ba7c0003e7225791.zip
added simple upload script to service files to help newer players and give example for automation
Diffstat (limited to 'service/upload.sh')
-rw-r--r--service/upload.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/service/upload.sh b/service/upload.sh
new file mode 100644
index 0000000..0cd6b4d
--- /dev/null
+++ b/service/upload.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+# ..LoOKs lIKe i DRopPeD mY l33T uPLoAd ScRipT, oH NoOo!
+
+filename=$1
+remote=$2
+
+(
+ echo "upload"
+ cat $filename | wc -c
+ cat $filename
+ echo "coolest stl evar!"
+ cat
+) | nc $remote 9090