mirror of
https://github.com/casjaysdevdocker/bind
synced 2026-10-11 20:12:47 -04:00
🗃️ Committing everything that changed 🗃️
rootfs/root/docker/setup/03-files.sh rootfs/tmp/ rootfs/usr/local/share/template-files/config/bind/named.conf rootfs/usr/local/share/template-files/config/bind/rndc.key rootfs/usr/local/share/template-files/config/nginx/fastcgi_params rootfs/usr/local/share/template-files/config/nginx/mime.types rootfs/usr/local/share/template-files/config/nginx/nginx.conf rootfs/usr/local/share/template-files/config/php/php-fpm.conf rootfs/usr/local/share/template-files/config/php/php-fpm.d/www.conf rootfs/usr/local/share/template-files/config/php/php.ini rootfs/usr/local/share/template-files/data/bind/root.cache
This commit is contained in:
10 files changed
+25
-8
No files matched your search
@@ -37,18 +37,22 @@ if [ -d "/tmp/bin" ]; then
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
unset bin
|
unset bin
|
||||||
if [ -d "/tmp/data" ]; then
|
if [ -d "/tmp/var" ]; then
|
||||||
for data in "/tmp/data"/*; do
|
for var in "/tmp/var"/*; do
|
||||||
name="$(basename "$data")"
|
name="${var//\/tmp\/var\//}"
|
||||||
echo "Installing $name to /usr/local/share/template-files/data/$name"
|
echo "Installing $var to /var/$name"
|
||||||
mkdir -p "/usr/local/share/template-files/data/$name"
|
if [ -d "$var" ]; then
|
||||||
copy "$data"/* "/usr/local/share/template-files/data/$name"
|
mkdir -p "/var/$name"
|
||||||
|
copy "$var"/* "/var/$name/"
|
||||||
|
else
|
||||||
|
copy "$var" "/var/$name"
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
unset data
|
unset var
|
||||||
if [ -d "/tmp/etc" ]; then
|
if [ -d "/tmp/etc" ]; then
|
||||||
for config in "/tmp/etc"/*; do
|
for config in "/tmp/etc"/*; do
|
||||||
name="${config//\/tmp\/etc/\/}"
|
name="${config//\/tmp\/etc\//}"
|
||||||
echo "Installing $config to /etc/$name"
|
echo "Installing $config to /etc/$name"
|
||||||
if [ -d "$config" ]; then
|
if [ -d "$config" ]; then
|
||||||
mkdir -p "/etc/$name"
|
mkdir -p "/etc/$name"
|
||||||
@@ -62,6 +66,19 @@ if [ -d "/tmp/etc" ]; then
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
unset config
|
unset config
|
||||||
|
if [ -d "/tmp/data" ]; then
|
||||||
|
for data in "/tmp/data"/*; do
|
||||||
|
name="${data//\/tmp\/data\//}"
|
||||||
|
echo "Installing $data to /usr/local/share/template-files/data"
|
||||||
|
if [ -d "$data" ]; then
|
||||||
|
mkdir -p "/usr/local/share/template-files/data/$name"
|
||||||
|
copy "$data"/* "/usr/local/share/template-files/data/$name/"
|
||||||
|
else
|
||||||
|
copy "$data" "/usr/local/share/template-files/data/$name"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
unset data
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
# Main script
|
# Main script
|
||||||
|
|
||||||
|
|||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user