always execute extension script after upgrade

Always execute extension script after upgrade from WebGUI, code changes.
This commit is contained in:
JRGTH
2025-09-14 05:30:35 -04:00
parent 8a98bc7f2b
commit 50e465f5e2
4 changed files with 30 additions and 13 deletions

View File

@@ -85,6 +85,9 @@ 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();