init
This commit is contained in:
7
run_once.sh
Executable file
7
run_once.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
me="$(basename "$0")";
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||||
running=$(ps h -C "$me" | grep -wv $$ | wc -l);
|
||||
[[ $running > 1 ]] && exit;
|
||||
slide $@
|
||||
Reference in New Issue
Block a user