add package script and install howto

This commit is contained in:
Manuel Dewald
2019-01-31 09:00:06 +01:00
parent ac307135ce
commit 50e48664e1
3 changed files with 72 additions and 0 deletions

7
sbin/run_once.sh Executable file
View 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 $@