PirateBoxScripts_Webserver/piratebox/piratebox/bin/hooks/hook_piratebox_stop.sh
2012-06-15 17:59:19 +02:00

18 lines
315 B
Bash
Executable file

#!/bin/sh
# ---- TEMPLATE ----
# Runs on every Stop before anything is stopped
# get config file
if [ ! -f $1 ] ; then
echo "Config-File $1 not found..."
exit 255
fi
#Load config
. $1
# You can uncommend this line to see when hook is starting:
# echo "------------------ Running $0 ------------------"