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

20 lines
339 B
Bash
Executable file

#!/bin/sh
# ---- TEMPLATE ----
# Hook for modifcation stuff before
# piratebox/bin/install ... part2
# is run.
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 ------------------"