Update build.sh
This commit is contained in:
parent
627b5df4ab
commit
8d41921fb4
6
build.sh
6
build.sh
@ -60,6 +60,9 @@ do
|
|||||||
if [ "${wg_enabled:-0}" -eq "1" ]; then
|
if [ "${wg_enabled:-0}" -eq "1" ]; then
|
||||||
mkdir --verbose wireguard; cp -rv ../wireguard/* wireguard/
|
mkdir --verbose wireguard; cp -rv ../wireguard/* wireguard/
|
||||||
fi
|
fi
|
||||||
|
if [ "${ddns_enabled:-0}" -eq "1" ]; then
|
||||||
|
mkdir --verbose ddns; cp -rv ../ddns/* ddns/
|
||||||
|
fi
|
||||||
|
|
||||||
# Copy system-local custom files (if they even exist)
|
# Copy system-local custom files (if they even exist)
|
||||||
cp -rv $dir/tinc/* tinc/
|
cp -rv $dir/tinc/* tinc/
|
||||||
@ -68,6 +71,9 @@ do
|
|||||||
if [ "${wg_enabled:-0}" -eq "1" ]; then
|
if [ "${wg_enabled:-0}" -eq "1" ]; then
|
||||||
cp -rv $dir/wireguard/* wireguard/
|
cp -rv $dir/wireguard/* wireguard/
|
||||||
fi
|
fi
|
||||||
|
if [ "${ddns:-0}" -eq "1" ]; then
|
||||||
|
cp -rv $dir/ddns/* ddns/
|
||||||
|
fi
|
||||||
|
|
||||||
# Tinc
|
# Tinc
|
||||||
# Remove existing configuration
|
# Remove existing configuration
|
||||||
|
Loading…
x
Reference in New Issue
Block a user