mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 03:07:43 +02:00
Großes Update:
Hinzugefügt: * L7-Protokolle Geändert: * XAMPP 1.5.1 --> 1.5.3 * Sämtliche "IPCops" durch "IPFire" im Webinterface ersetzt * Einige Fixes, wegen Errors im Webinterface. (Im Forum zu finden.) git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@148 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
@@ -29,12 +29,12 @@ $cgiparams{'ACTION'} = '';
|
||||
|
||||
if ($cgiparams{'ACTION'} eq $Lang::tr{'shutdown'}) {
|
||||
$death = 1;
|
||||
&General::log($Lang::tr{'shutting down ipcop'});
|
||||
&General::log($Lang::tr{'shutting down ipfire'});
|
||||
#system '/usr/local/bin/ipfiredeath';
|
||||
system '/usr/local/bin/ipfirereboot down';
|
||||
} elsif ($cgiparams{'ACTION'} eq $Lang::tr{'reboot'}) {
|
||||
$rebirth = 1;
|
||||
&General::log($Lang::tr{'rebooting ipcop'});
|
||||
&General::log($Lang::tr{'rebooting ipfire'});
|
||||
#system '/usr/local/bin/ipfirerebirth';
|
||||
system '/usr/local/bin/ipfirereboot boot';
|
||||
} elsif ($cgiparams{'ACTION'} eq $Lang::tr{'save'}) {
|
||||
@@ -202,10 +202,10 @@ END
|
||||
my $refresh = "<meta http-equiv='refresh' content='5; URL=/cgi-bin/index.cgi' />";
|
||||
if ($death) {
|
||||
$title = $Lang::tr{'shutting down'};
|
||||
$message = $Lang::tr{'ipcop has now shutdown'};
|
||||
$message = $Lang::tr{'ipfire has now shutdown'};
|
||||
} else {
|
||||
$title = $Lang::tr{'rebooting'};
|
||||
$message = $Lang::tr{'ipcop has now rebooted'};
|
||||
$message = $Lang::tr{'ipfire has now rebooted'};
|
||||
}
|
||||
&Header::openpage($title, 0, $refresh);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user