Always pre-configure bastille.conf on new installs

This commit is contained in:
Jose
2020-03-08 17:35:17 -04:00
parent 0176f72a1f
commit d7e6d27088
3 changed files with 9 additions and 8 deletions
+1
View File
@@ -3,6 +3,7 @@
====================== ======================
Version Description Version Description
1.0.38......Always pre-configure bastille.conf on new installs.
1.0.37......Add initial support for IPv6 and VNET. 1.0.37......Add initial support for IPv6 and VNET.
1.0.36......Remove obsolete code, update config. 1.0.36......Remove obsolete code, update config.
1.0.35......Use bastille built-in convert function. 1.0.35......Use bastille built-in convert function.
+7 -7
View File
@@ -323,18 +323,18 @@ sys_symlinkdir()
fi fi
# Link bastile config file. # Link bastile config file.
if [ -f "${INSTALLPATH}/${USRLOCAL}/etc/${APPNAME}/${APPNAME}.conf.sample" ]; then #if [ -f "${INSTALLPATH}/${USRLOCAL}/etc/${APPNAME}/${APPNAME}.conf.sample" ]; then
cd ${INSTALLPATH}/${USRLOCAL}/etc/${APPNAME} # cd ${INSTALLPATH}/${USRLOCAL}/etc/${APPNAME}
if [ ! -f "${APPNAME}.conf" ]; then # if [ ! -f "${APPNAME}.conf" ]; then
cp ${APPNAME}.conf.sample ${APPNAME}.conf # cp ${APPNAME}.conf.sample ${APPNAME}.conf
fi # fi
else #else
if [ -f "${BASTILLECONF_EXT}" ]; then if [ -f "${BASTILLECONF_EXT}" ]; then
if [ ! -f "${INSTALLPATH}/${USRLOCAL}/etc/${APPNAME}/${APPNAME}.conf" ]; then if [ ! -f "${INSTALLPATH}/${USRLOCAL}/etc/${APPNAME}/${APPNAME}.conf" ]; then
cp ${BASTILLECONF_EXT} ${INSTALLPATH}/${USRLOCAL}/etc/${APPNAME}/${APPNAME}.conf cp ${BASTILLECONF_EXT} ${INSTALLPATH}/${USRLOCAL}/etc/${APPNAME}/${APPNAME}.conf
fi fi
fi fi
fi #fi
# Copy bastille shared. # Copy bastille shared.
if [ -d "${INSTALLPATH}/${USRLOCAL}/share/${APPNAME}" ]; then if [ -d "${INSTALLPATH}/${USRLOCAL}/share/${APPNAME}" ]; then
+1 -1
View File
@@ -1 +1 @@
1.0.37 1.0.38