mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 03:07:43 +02:00
Neuer Versuch fuer Syslog
Index Refresh bei Shutdown und Reboot angepasst hddshutdown umgeschrieben git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@900 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
@@ -55,10 +55,13 @@ my %mainsettings = ();
|
||||
&General::readhash("/srv/web/ipfire/html/themes/".$mainsettings{'THEME'}."/include/colors.txt", \%color);
|
||||
|
||||
my $connstate = &Header::connectionstatus();
|
||||
if ($connstate =~ /$Lang::tr{'dod waiting'}/ || -e "${General::swroot}/main/refreshindex") {
|
||||
$refresh = "<meta http-equiv='refresh' content='30;'>";
|
||||
|
||||
if ($cgiparams{'ACTION'} eq $Lang::tr{'shutdown'} || $cgiparams{'ACTION'} eq $Lang::tr{'reboot'}) {
|
||||
$refresh = "<meta http-equiv='refresh' content='300;'>";
|
||||
} elsif ($connstate =~ /$Lang::tr{'connecting'}/) {
|
||||
$refresh = "<meta http-equiv='refresh' content='5;'>";
|
||||
} elsif ($connstate =~ /$Lang::tr{'dod waiting'}/ || -e "${General::swroot}/main/refreshindex") {
|
||||
$refresh = "<meta http-equiv='refresh' content='30;'>";
|
||||
}
|
||||
|
||||
if ($cgiparams{'ACTION'} eq $Lang::tr{'dial profile'})
|
||||
|
||||
Reference in New Issue
Block a user