mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
WebUI: remove ipfire release update info
User should not update ipfire because that would remove all BPFire eBPF applications Signed-off-by: Vincent Li <vincent.mc.li@gmail.com>
This commit is contained in:
@@ -604,11 +604,6 @@ if ($warnmessage) {
|
|||||||
&Header::closebox();
|
&Header::closebox();
|
||||||
}
|
}
|
||||||
|
|
||||||
my %coredb = &Pakfire::coredbinfo();
|
|
||||||
if (defined $coredb{'AvailableRelease'}) {
|
|
||||||
print "<br /><br /><br /><a href='pakfire.cgi'>$Lang::tr{'core notice 1'} $coredb{'Release'} $Lang::tr{'core notice 2'} $coredb{'AvailableRelease'} $Lang::tr{'core notice 3'}</a>";
|
|
||||||
}
|
|
||||||
|
|
||||||
if ( -e "/var/run/need_reboot" ) {
|
if ( -e "/var/run/need_reboot" ) {
|
||||||
print "<div style='text-align:center; color:red;'>";
|
print "<div style='text-align:center; color:red;'>";
|
||||||
print "<br/><br/>$Lang::tr{'needreboot'}!";
|
print "<br/><br/>$Lang::tr{'needreboot'}!";
|
||||||
|
|||||||
Reference in New Issue
Block a user