mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 03:07:43 +02:00
Samba-Update auf neues Patchlevel. Jaja, die Sicherheitsluecken oder sowas...
Pakfire: * Upgrade-Selektion vorbereitet. * UUID-Senden ist abstellbar. * Nicht-Interaktiver Modus laesst sich jetzt auch mit -y aktivieren (yum). * pakfire upgrade liefert schonmal eine Liste der zu aktualisierenden Paketen. Eine kleine Macke in der red/update gefixxt. 2 MP3-Tools eingebaut. Clamav-Postinstall-Prozess und noch so ein dummes Rechteproblem gefixxt. git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@649 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
@@ -30,6 +30,7 @@ $pakfiresettings{'VALID'} = '';
|
||||
$pakfiresettings{'INSPAKS'} = '';
|
||||
$pakfiresettings{'DELPAKS'} = '';
|
||||
$pakfiresettings{'AUTOUPDATE'} = '';
|
||||
$pakfiresettings{'UUID'} = '';
|
||||
|
||||
&Header::getcgihash(\%pakfiresettings);
|
||||
|
||||
@@ -85,6 +86,7 @@ END
|
||||
} elsif ($pakfiresettings{'ACTION'} eq "$Lang::tr{'save'}") {
|
||||
|
||||
&General::writehash("${General::swroot}/pakfire/settings", \%pakfiresettings);
|
||||
|
||||
}
|
||||
|
||||
&General::readhash("${General::swroot}/pakfire/settings", \%pakfiresettings);
|
||||
@@ -95,6 +97,9 @@ my %checked=();
|
||||
$checked{'AUTOUPDATE'}{'off'} = '';
|
||||
$checked{'AUTOUPDATE'}{'on'} = '';
|
||||
$checked{'AUTOUPDATE'}{$pakfiresettings{'AUTOUPDATE'}} = "checked='checked'";
|
||||
$checked{'UUID'}{'off'} = '';
|
||||
$checked{'UUID'}{'on'} = '';
|
||||
$checked{'UUID'}{$pakfiresettings{'UUID'}} = "checked='checked'";
|
||||
|
||||
# DPC move error message to top so it is seen!
|
||||
if ($errormessage) {
|
||||
@@ -163,12 +168,27 @@ print <<END;
|
||||
</select>
|
||||
</table></form>
|
||||
<br /><hr /><br />
|
||||
<form method='post' action='$ENV{'SCRIPT_NAME'}'>
|
||||
<table width='100%'>
|
||||
<tr><td colspan='2'>Zur Verfuegung stehende Updates:
|
||||
<tr><td width='20%'> <td width='60%' align='center'>
|
||||
<select name="UPDPAKS" size="5" disabled>
|
||||
END
|
||||
|
||||
&Pakfire::dblist("upgrade", "forweb");
|
||||
|
||||
print <<END;
|
||||
</select>
|
||||
<td width='20%' align='center' valign='middle'><input type='hidden' name='ACTION' value='upgrade' />
|
||||
<input type='image' alt='$Lang::tr{'upgrade'}' src='/images/document-save.png' />
|
||||
</table></form>
|
||||
<br /><hr /><br />
|
||||
<form method='post' action='$ENV{'SCRIPT_NAME'}'>
|
||||
<table width='100%'>
|
||||
<tr><td width='40%' align="right">Automatische Updates taeglich ausfuehren:
|
||||
<td width='10%' align="left"><input type="checkbox" name="AUTOUPDATE" $checked{'AUTOUPDATE'}{'on'} />
|
||||
<td width='40%' align="right">Test:
|
||||
<td width='10%' align="left"><input type="checkbox" name="AUTOUPDATE" $checked{'AUTOUPDATE'}{'on'} />
|
||||
<td width='40%' align="right">Registrierung am Master-Server:
|
||||
<td width='10%' align="left"><input type="checkbox" name="UUID" $checked{'UUID'}{'on'} />
|
||||
<tr><td width='100%' colspan="4" align="right"><input type="submit" name="ACTION" value="$Lang::tr{'save'}" />
|
||||
</table>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user