initial commit

This commit is contained in:
florian
2013-09-22 15:23:53 +00:00
commit 088be8447c
4 changed files with 127 additions and 0 deletions

24
coordinator Executable file
View File

@@ -0,0 +1,24 @@
#!/bin/bash
#################
#
# Neighborhood Watch Coordinator
#
# Discover my own location
#
SCRIPT_PATH="${BASH_SOURCE[0]}";
if ([ -h "${SCRIPT_PATH}" ]) then
while([ -h "${SCRIPT_PATH}" ]) do SCRIPT_PATH=`readlink "${SCRIPT_PATH}"`; done
fi
pushd . > /dev/null
cd `dirname ${SCRIPT_PATH}` > /dev/null
SCRIPT_PATH=`pwd`;
popd > /dev/null
cd ${SCRIPT_PATH}
. neighborhoodwatch.conf
run-parts $RUN_PATH