diff --git a/helper_lib.sh b/helper_lib.sh index e692deb..8c6cfbb 100644 --- a/helper_lib.sh +++ b/helper_lib.sh @@ -1,5 +1,8 @@ #!/bin/sh +ps_command=$(command -v ps) +ps_args='-U root -u root -f' + # Returns the absolute path of a given string abspath () { case "$1" in /*)printf "%s\n" "$1";; *)printf "%s\n" "$PWD/$1";; esac; }