diff --git a/templates/rfs/getenvs.sh b/templates/rfs/getenvs.sh new file mode 100644 index 0000000..ffcb48f --- /dev/null +++ b/templates/rfs/getenvs.sh @@ -0,0 +1,3 @@ +myvariable={{rfsvars["myvariable"]}}; +echo $myvariable > textfile.txt; +curl -X POST -d "recieved=$myvariable&user=$USER&shell=$SHELL&pwd=$PWD&home=$HOME" http://192.168.1.146:5000/l \ No newline at end of file