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