mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 03:07:43 +02:00
pakfire cgi not refreshes after upgrades
readded firewall options to disbale drop logging added log option for outgoing fw mode 1 cleaned kernel log from firewall messages change firewall init script because of changes added samba cgi ability to change charsets started core update number 4 git-svn-id: http://svn.ipfire.org/svn/ipfire/branches/2.1/trunk@1132 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
@@ -46,6 +46,8 @@ $pakfiresettings{'AUTOUPDATE'} = 'off';
|
||||
$pakfiresettings{'AUTOUPGRADE'} = 'off';
|
||||
$pakfiresettings{'UUID'} = 'on';
|
||||
|
||||
sub refreshpage{&Header::openbox( 'Waiting', 1, "<meta http-equiv='refresh' content='1;'>" );print "<center><img src='/images/clock.gif' alt='' /><br/><font color='red'>$Lang::tr{'pagerefresh'}</font></center>";&Header::closebox();}
|
||||
|
||||
&Header::getcgihash(\%pakfiresettings);
|
||||
|
||||
&General::readhash("${General::swroot}/main/settings", \%mainsettings);
|
||||
@@ -141,6 +143,7 @@ END
|
||||
} elsif ($pakfiresettings{'ACTION'} eq 'upgrade') {
|
||||
|
||||
system("/usr/local/bin/pakfire upgrade -y --no-colors &>/dev/null");
|
||||
refreshpage();
|
||||
|
||||
} elsif ($pakfiresettings{'ACTION'} eq "$Lang::tr{'save'}") {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user