X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=html%2Fcgi-bin%2Fpakfire.cgi;h=2a7ca8407f08a29546cb5bf9148a2cc824ac4dc6;hb=1342aaf8dd0a0c55d960817e88cac5d379029054;hp=69bd11d3e23c20fc7ed3b4162bee2f7a035930d4;hpb=7722d5010db2180420bc98ec017ff80087773bc3;p=ipfire-2.x.git diff --git a/html/cgi-bin/pakfire.cgi b/html/cgi-bin/pakfire.cgi index 69bd11d3e2..2a7ca8407f 100644 --- a/html/cgi-bin/pakfire.cgi +++ b/html/cgi-bin/pakfire.cgi @@ -2,7 +2,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007 Michael Tremer & Christian Schmidt # +# Copyright (C) 2007-2011 Michael Tremer & Christian Schmidt # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -43,7 +43,7 @@ $pakfiresettings{'VALID'} = ''; $pakfiresettings{'INSPAKS'} = ''; $pakfiresettings{'DELPAKS'} = ''; $pakfiresettings{'AUTOUPDATE'} = 'off'; -$pakfiresettings{'AUTOUPGRADE'} = 'off'; +$pakfiresettings{'HEALTHCHECK'} = 'on'; $pakfiresettings{'UUID'} = 'on'; sub refreshpage{&Header::openbox( 'Waiting', 1, "" );print "
END @@ -222,13 +219,19 @@ my $packages_update_age = &General::age("/opt/pakfire/db/lists/packages_list.db" print <+END +if ( -e "/var/run/need_reboot") { + print " "; + print " $Lang::tr{'needreboot'}! " +} +print < $Lang::tr{'pakfire system state'}: $Lang::tr{'pakfire core update level'}: $core_release
- $Lang::tr{'pakfire last update'} $core_update_age ago
- $Lang::tr{'pakfire last serverlist update'} $server_update_age ago
- $Lang::tr{'pakfire last core list update'} $corelist_update_age ago
- $Lang::tr{'pakfire last package update'} $packages_update_age ago + $Lang::tr{'pakfire last update'} $core_update_age $Lang::tr{'pakfire ago'}
+ $Lang::tr{'pakfire last serverlist update'} $server_update_age $Lang::tr{'pakfire ago'}
+ $Lang::tr{'pakfire last core list update'} $corelist_update_age $Lang::tr{'pakfire ago'}
+ $Lang::tr{'pakfire last package update'} $packages_update_age $Lang::tr{'pakfire ago'}@@ -259,7 +262,7 @@ print <
- +@@ -274,7 +277,7 @@ print <
- + END @@ -286,16 +289,16 @@ print <END
- $Lang::tr{'basic options'} $Lang::tr{'pakfire update daily'} - on / + - $Lang::tr{'pakfire update daily'} + on | off - $Lang::tr{'pakfire core update auto'} - on / - off $Lang::tr{'pakfire register'} - on / + + $Lang::tr{'pakfire health check'} + on | + off - $Lang::tr{'pakfire register'} + on | off +