Update extension and bastille config files at once

This commit is contained in:
Jose
2020-07-17 05:39:48 -04:00
parent 07f3a1aa5a
commit c2b74495d9
4 changed files with 17 additions and 8 deletions
+1
View File
@@ -46,6 +46,7 @@ $confdir = "/var/etc/bastille_conf";
$cwdir = exec("/usr/bin/grep 'INSTALL_DIR=' $confdir/conf/bastille_config | /usr/bin/cut -d'\"' -f2");
$rootfolder = $cwdir;
$configfile = "$rootfolder/conf/bastille_config";
$configfile_bastille = "$rootfolder/bastille-dist/usr/local/etc/bastille/bastille.conf";
$versionfile = "$rootfolder/version";
$date = strftime('%c');
$logfile = "$rootfolder/log/bastille_ext.log";