mirror of
https://github.com/PirateBox-Dev/PirateBoxScripts_Webserver.git
synced 2023-12-14 07:22:58 +01:00
18 lines
315 B
Bash
Executable file
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 ------------------"
|
|
|