7 lines
304 B
Bash
Executable File
7 lines
304 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Oneliner to find script's directory. Please note - last path component should NOT be symlink.
|
|
SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]:-$0}"; )" &> /dev/null && pwd 2> /dev/null; )";
|
|
|
|
/usr/bin/screen -L -Logfile $SCRIPT_DIR/agent_gsm_screen.log -d -m $SCRIPT_DIR/run_agent.sh
|