fireinfo: Run action that was set on the webinterface immediately.

This commit is contained in:
Michael Tremer
2011-01-04 00:30:14 +01:00
parent b0636ac576
commit aebf1b54e1
5 changed files with 31 additions and 1 deletions

View File

@@ -55,6 +55,7 @@ if ("$fireinfosettings{'ACTION'}" eq "trigger") {
unlink "$configfile";
$fireinfosettings{'ENABLE_FIREINFO'} = 'off';
}
system("/usr/local/bin/fireinfoctrl &");
}
&Header::openpage('Fireinfo', 1, '');