always execute extension script after upgrade

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

No files matched your search

+3
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();