Added post upgrade function for convenience, cleanup

Added post upgrade function for convenience, cleanup obsolete code.
This commit is contained in:
JRGTH
2025-09-14 08:03:36 -04:00
parent 50e465f5e2
commit d70bc5a15b
4 changed files with 21 additions and 4 deletions

View File

@@ -85,9 +85,6 @@ if ($_POST) {
$output = [];
exec($cmd,$output,$return_val);
if($return_val == 0):
// Execute extension script after upgrade for convenience.
// This will cause the script to early trigger zfs config checks.
exec("{$rootfolder}/bastille-init");
ob_start();
include("{$logevent}");
$ausgabe = ob_get_contents();