I have the following in my server.conf file…
client-connect.bash so far looks like this…
#!/usr/bin/bash touch /tmp/testfile.txt sleep 10 exit 0
I know that the script executes, because the client pauses for 10 seconds, and then successfully connects.
However the file /tmp/testfile.txt is never created.
I can’t figure out what could be going wrong.
I was hoping to be able to write to /tmp, to allow me to echo environment variables etc. to help with finishing the actual script functionality. However without being able to write somewhere I have no way to see what’s actually happening in the script.