3 Commits

2 changed files with 14 additions and 2 deletions

View File

@@ -70,7 +70,19 @@ while test $# -gt 0; do
esac
shift
done
if [ -z "$WORKING_DIRECTORY" ]; then
echo "WORKING_DIRECTORY empty. exiting..."
exit 1
fi
if [ ! -d "$WORKING_DIRECTORY" ]; then
echo "WORKING_DIRECTORY $WORKING_DIRECTORY does not exist! exiting..."
exit 1
fi
cd "$WORKING_DIRECTORY"
source ./update_psa_impl
if read_config; then

View File

@@ -19,7 +19,7 @@
"customer_id_" : "/etc/cust_nr",
"" : "machine id of PSA",
"machine_nr" : "/etc/mach_nr",
"machine_nr" : "/etc/machine_nr",
"" : "each location can have multiple",
"" : "zone-groups and/or zones",