public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH 1/2] index.cgi: Drop Reiser4 warning
@ 2020-08-05 12:23 Michael Tremer
  2020-08-05 12:23 ` [PATCH 2/2] index.cgi: Show a note to people who are running IPFire on i?86 Michael Tremer
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Tremer @ 2020-08-05 12:23 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 7200 bytes --]

We have dropped Reiser4 in 2013. There won't be any systems out there
any more running it. We can safely drop this warning.

Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
---
 doc/language_issues.de | 1 +
 doc/language_issues.en | 1 -
 doc/language_issues.es | 1 -
 doc/language_issues.fr | 1 +
 doc/language_issues.it | 1 +
 doc/language_issues.nl | 1 +
 doc/language_issues.pl | 1 -
 doc/language_issues.ru | 1 -
 doc/language_issues.tr | 1 +
 html/cgi-bin/index.cgi | 7 -------
 10 files changed, 5 insertions(+), 11 deletions(-)

diff --git a/doc/language_issues.de b/doc/language_issues.de
index df5df895e..f2a7ba8ae 100644
--- a/doc/language_issues.de
+++ b/doc/language_issues.de
@@ -180,6 +180,7 @@ WARNING: translation string unused: default networks
 WARNING: translation string unused: default services
 WARNING: translation string unused: defaultwarning
 WARNING: translation string unused: delete cron
+WARNING: translation string unused: deprecated fs warn
 WARNING: translation string unused: description
 WARNING: translation string unused: destination ip bad
 WARNING: translation string unused: destination ip or net
diff --git a/doc/language_issues.en b/doc/language_issues.en
index 6417d5382..ca3b1bbdb 100644
--- a/doc/language_issues.en
+++ b/doc/language_issues.en
@@ -551,7 +551,6 @@ WARNING: untranslated string: delete pc = Delete workstation
 WARNING: untranslated string: delete share = Delete share
 WARNING: untranslated string: delete user = Delete user
 WARNING: untranslated string: demon login script = Demon login script
-WARNING: untranslated string: deprecated fs warn = Deprecated filesystem! Newer kernel drop the support. Backup and reformat!
 WARNING: untranslated string: dest ip and port = Dest. IP: Port
 WARNING: untranslated string: destination = Destination
 WARNING: untranslated string: destination ip = Destination IP
diff --git a/doc/language_issues.es b/doc/language_issues.es
index 475db4953..016bcd5e5 100644
--- a/doc/language_issues.es
+++ b/doc/language_issues.es
@@ -804,7 +804,6 @@ WARNING: untranslated string: dangerous = Dangerous
 WARNING: untranslated string: dead peer detection = Dead Peer Detection
 WARNING: untranslated string: default = Default
 WARNING: untranslated string: default IP address = Default IP Address
-WARNING: untranslated string: deprecated fs warn = Deprecated filesystem! Newer kernel drop the support. Backup and reformat!
 WARNING: untranslated string: details = Details
 WARNING: untranslated string: dh = Diffie-Hellman parameters
 WARNING: untranslated string: dh key move failed = Diffie-Hellman parameters move failed.
diff --git a/doc/language_issues.fr b/doc/language_issues.fr
index 9470597af..9c7456d71 100644
--- a/doc/language_issues.fr
+++ b/doc/language_issues.fr
@@ -203,6 +203,7 @@ WARNING: translation string unused: default networks
 WARNING: translation string unused: default services
 WARNING: translation string unused: defaultwarning
 WARNING: translation string unused: delete cron
+WARNING: translation string unused: deprecated fs warn
 WARNING: translation string unused: description
 WARNING: translation string unused: destination ip bad
 WARNING: translation string unused: destination ip or net
diff --git a/doc/language_issues.it b/doc/language_issues.it
index 93e4b097f..c3291c0b2 100644
--- a/doc/language_issues.it
+++ b/doc/language_issues.it
@@ -178,6 +178,7 @@ WARNING: translation string unused: default networks
 WARNING: translation string unused: default services
 WARNING: translation string unused: defaultwarning
 WARNING: translation string unused: delete cron
+WARNING: translation string unused: deprecated fs warn
 WARNING: translation string unused: description
 WARNING: translation string unused: destination ip bad
 WARNING: translation string unused: destination ip or net
diff --git a/doc/language_issues.nl b/doc/language_issues.nl
index ad76bf228..49a9c6d20 100644
--- a/doc/language_issues.nl
+++ b/doc/language_issues.nl
@@ -177,6 +177,7 @@ WARNING: translation string unused: default networks
 WARNING: translation string unused: default services
 WARNING: translation string unused: defaultwarning
 WARNING: translation string unused: delete cron
+WARNING: translation string unused: deprecated fs warn
 WARNING: translation string unused: description
 WARNING: translation string unused: destination ip bad
 WARNING: translation string unused: destination ip or net
diff --git a/doc/language_issues.pl b/doc/language_issues.pl
index 475db4953..016bcd5e5 100644
--- a/doc/language_issues.pl
+++ b/doc/language_issues.pl
@@ -804,7 +804,6 @@ WARNING: untranslated string: dangerous = Dangerous
 WARNING: untranslated string: dead peer detection = Dead Peer Detection
 WARNING: untranslated string: default = Default
 WARNING: untranslated string: default IP address = Default IP Address
-WARNING: untranslated string: deprecated fs warn = Deprecated filesystem! Newer kernel drop the support. Backup and reformat!
 WARNING: untranslated string: details = Details
 WARNING: untranslated string: dh = Diffie-Hellman parameters
 WARNING: untranslated string: dh key move failed = Diffie-Hellman parameters move failed.
diff --git a/doc/language_issues.ru b/doc/language_issues.ru
index f99fd4d9a..4bf922e62 100644
--- a/doc/language_issues.ru
+++ b/doc/language_issues.ru
@@ -807,7 +807,6 @@ WARNING: untranslated string: dangerous = Dangerous
 WARNING: untranslated string: dead peer detection = Dead Peer Detection
 WARNING: untranslated string: default = Default
 WARNING: untranslated string: default IP address = Default IP Address
-WARNING: untranslated string: deprecated fs warn = Deprecated filesystem! Newer kernel drop the support. Backup and reformat!
 WARNING: untranslated string: details = Details
 WARNING: untranslated string: dh = Diffie-Hellman parameters
 WARNING: untranslated string: dh key move failed = Diffie-Hellman parameters move failed.
diff --git a/doc/language_issues.tr b/doc/language_issues.tr
index b6e3426f3..f02493545 100644
--- a/doc/language_issues.tr
+++ b/doc/language_issues.tr
@@ -200,6 +200,7 @@ WARNING: translation string unused: default networks
 WARNING: translation string unused: default services
 WARNING: translation string unused: defaultwarning
 WARNING: translation string unused: delete cron
+WARNING: translation string unused: deprecated fs warn
 WARNING: translation string unused: description
 WARNING: translation string unused: destination ip bad
 WARNING: translation string unused: destination ip or net
diff --git a/html/cgi-bin/index.cgi b/html/cgi-bin/index.cgi
index bd6a02ef5..945a5b68c 100644
--- a/html/cgi-bin/index.cgi
+++ b/html/cgi-bin/index.cgi
@@ -593,13 +593,6 @@ foreach my $file (@files) {
 	}
 }
 
-# Reiser4 warning
-my @files = `mount | grep " reiser4 (" 2>/dev/null`;
-foreach my $disk (@files) {
-	chomp ($disk);
-	$warnmessage .= "<li>$disk - $Lang::tr{'deprecated fs warn'}</li>";
-}
-
 if ($warnmessage) {
 	&Header::openbox('100%','center', );
 	print "<table class='tbl' style='width:80%;'>";
-- 
2.20.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 2/2] index.cgi: Show a note to people who are running IPFire on i?86
  2020-08-05 12:23 [PATCH 1/2] index.cgi: Drop Reiser4 warning Michael Tremer
@ 2020-08-05 12:23 ` Michael Tremer
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Tremer @ 2020-08-05 12:23 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 9586 bytes --]

Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
---
 doc/language_issues.en | 1 +
 doc/language_issues.es | 1 +
 doc/language_issues.fr | 1 +
 doc/language_issues.it | 1 +
 doc/language_issues.nl | 1 +
 doc/language_issues.pl | 1 +
 doc/language_issues.ru | 1 +
 doc/language_issues.tr | 1 +
 doc/language_missings  | 7 +++++++
 html/cgi-bin/index.cgi | 6 ++++++
 langs/de/cgi-bin/de.pl | 1 +
 langs/en/cgi-bin/en.pl | 1 +
 12 files changed, 23 insertions(+)

diff --git a/doc/language_issues.en b/doc/language_issues.en
index ca3b1bbdb..40cba2292 100644
--- a/doc/language_issues.en
+++ b/doc/language_issues.en
@@ -1182,6 +1182,7 @@ WARNING: untranslated string: last = Last
 WARNING: untranslated string: last activity = Last Activity
 WARNING: untranslated string: lease expires = Lease expires
 WARNING: untranslated string: least preferred = least preferred
+WARNING: untranslated string: legacy architecture warning = You are running IPFire on a legacy architecture and it is recommended to upgrade
 WARNING: untranslated string: legend = Legend
 WARNING: untranslated string: lifetime = Lifetime:
 WARNING: untranslated string: linkq = Link Quality
diff --git a/doc/language_issues.es b/doc/language_issues.es
index 016bcd5e5..f7431f692 100644
--- a/doc/language_issues.es
+++ b/doc/language_issues.es
@@ -1154,6 +1154,7 @@ WARNING: untranslated string: ipsec settings = IPsec Settings
 WARNING: untranslated string: itlb multihit = iTLB MultiHit
 WARNING: untranslated string: last = Last
 WARNING: untranslated string: least preferred = least preferred
+WARNING: untranslated string: legacy architecture warning = You are running IPFire on a legacy architecture and it is recommended to upgrade
 WARNING: untranslated string: lifetime = Lifetime:
 WARNING: untranslated string: local ip address = Local IP Address
 WARNING: untranslated string: log server protocol = protocol:
diff --git a/doc/language_issues.fr b/doc/language_issues.fr
index 9c7456d71..597883693 100644
--- a/doc/language_issues.fr
+++ b/doc/language_issues.fr
@@ -838,6 +838,7 @@ WARNING: untranslated string: guardian logtarget_file = unknown string
 WARNING: untranslated string: guardian logtarget_syslog = unknown string
 WARNING: untranslated string: guardian no entries = unknown string
 WARNING: untranslated string: guardian service = unknown string
+WARNING: untranslated string: legacy architecture warning = You are running IPFire on a legacy architecture and it is recommended to upgrade
 WARNING: untranslated string: pakfire ago = ago.
 WARNING: untranslated string: route config changed = unknown string
 WARNING: untranslated string: routing config added = unknown string
diff --git a/doc/language_issues.it b/doc/language_issues.it
index c3291c0b2..c943da739 100644
--- a/doc/language_issues.it
+++ b/doc/language_issues.it
@@ -983,6 +983,7 @@ WARNING: untranslated string: ipsec mode tunnel = Tunnel
 WARNING: untranslated string: ipsec routing table entries = IPsec Routing Table Entries
 WARNING: untranslated string: ipsec settings = IPsec Settings
 WARNING: untranslated string: itlb multihit = iTLB MultiHit
+WARNING: untranslated string: legacy architecture warning = You are running IPFire on a legacy architecture and it is recommended to upgrade
 WARNING: untranslated string: local ip address = Local IP Address
 WARNING: untranslated string: location = Location
 WARNING: untranslated string: locationblock = Location Block
diff --git a/doc/language_issues.nl b/doc/language_issues.nl
index 49a9c6d20..7496d647c 100644
--- a/doc/language_issues.nl
+++ b/doc/language_issues.nl
@@ -992,6 +992,7 @@ WARNING: untranslated string: ipsec mode tunnel = Tunnel
 WARNING: untranslated string: ipsec routing table entries = IPsec Routing Table Entries
 WARNING: untranslated string: ipsec settings = IPsec Settings
 WARNING: untranslated string: itlb multihit = iTLB MultiHit
+WARNING: untranslated string: legacy architecture warning = You are running IPFire on a legacy architecture and it is recommended to upgrade
 WARNING: untranslated string: local ip address = Local IP Address
 WARNING: untranslated string: location = Location
 WARNING: untranslated string: locationblock = Location Block
diff --git a/doc/language_issues.pl b/doc/language_issues.pl
index 016bcd5e5..f7431f692 100644
--- a/doc/language_issues.pl
+++ b/doc/language_issues.pl
@@ -1154,6 +1154,7 @@ WARNING: untranslated string: ipsec settings = IPsec Settings
 WARNING: untranslated string: itlb multihit = iTLB MultiHit
 WARNING: untranslated string: last = Last
 WARNING: untranslated string: least preferred = least preferred
+WARNING: untranslated string: legacy architecture warning = You are running IPFire on a legacy architecture and it is recommended to upgrade
 WARNING: untranslated string: lifetime = Lifetime:
 WARNING: untranslated string: local ip address = Local IP Address
 WARNING: untranslated string: log server protocol = protocol:
diff --git a/doc/language_issues.ru b/doc/language_issues.ru
index 4bf922e62..a3eb33669 100644
--- a/doc/language_issues.ru
+++ b/doc/language_issues.ru
@@ -1149,6 +1149,7 @@ WARNING: untranslated string: ipsec settings = IPsec Settings
 WARNING: untranslated string: itlb multihit = iTLB MultiHit
 WARNING: untranslated string: last = Last
 WARNING: untranslated string: least preferred = least preferred
+WARNING: untranslated string: legacy architecture warning = You are running IPFire on a legacy architecture and it is recommended to upgrade
 WARNING: untranslated string: lifetime = Lifetime:
 WARNING: untranslated string: local ip address = Local IP Address
 WARNING: untranslated string: location = Location
diff --git a/doc/language_issues.tr b/doc/language_issues.tr
index f02493545..60a646e5f 100644
--- a/doc/language_issues.tr
+++ b/doc/language_issues.tr
@@ -916,6 +916,7 @@ WARNING: untranslated string: ipsec mode tunnel = Tunnel
 WARNING: untranslated string: ipsec routing table entries = IPsec Routing Table Entries
 WARNING: untranslated string: ipsec settings = IPsec Settings
 WARNING: untranslated string: itlb multihit = iTLB MultiHit
+WARNING: untranslated string: legacy architecture warning = You are running IPFire on a legacy architecture and it is recommended to upgrade
 WARNING: untranslated string: local ip address = Local IP Address
 WARNING: untranslated string: meltdown = Meltdown
 WARNING: untranslated string: mitigated = Mitigated
diff --git a/doc/language_missings b/doc/language_missings
index 913970113..3fbaad77b 100644
--- a/doc/language_missings
+++ b/doc/language_missings
@@ -575,6 +575,7 @@
 < itlb multihit
 < last
 < least preferred
+< legacy architecture warning
 < lifetime
 < local ip address
 < log server protocol
@@ -921,6 +922,7 @@
 < bewan adsl usb
 < g.dtm
 < g.lite
+< legacy architecture warning
 < upload fcdsl.o
 ############################################################################
 # Checking cgi-bin translations for language: it                           #
@@ -1127,6 +1129,7 @@
 < ipsec routing table entries
 < ipsec settings
 < itlb multihit
+< legacy architecture warning
 < local ip address
 < location
 < locationblock
@@ -1501,6 +1504,7 @@
 < ipsec routing table entries
 < ipsec settings
 < itlb multihit
+< legacy architecture warning
 < local ip address
 < location
 < locationblock
@@ -2200,6 +2204,7 @@
 < itlb multihit
 < last
 < least preferred
+< legacy architecture warning
 < lifetime
 < local ip address
 < location
@@ -3056,6 +3061,7 @@
 < itlb multihit
 < last
 < least preferred
+< legacy architecture warning
 < lifetime
 < local ip address
 < location
@@ -3474,6 +3480,7 @@
 < ipsec routing table entries
 < ipsec settings
 < itlb multihit
+< legacy architecture warning
 < local ip address
 < meltdown
 < mitigated
diff --git a/html/cgi-bin/index.cgi b/html/cgi-bin/index.cgi
index 945a5b68c..8e7207d0c 100644
--- a/html/cgi-bin/index.cgi
+++ b/html/cgi-bin/index.cgi
@@ -545,6 +545,12 @@ if ( ! -e "/var/ipfire/main/send_profile") {
 	$warnmessage .= "<li><a style='color: white;' href='fireinfo.cgi'>$Lang::tr{'fireinfo please enable'}</a></li>";
 }
 
+# Legacy architecture
+my ($sysname, $nodename, $release, $version, $machine) = &POSIX::uname();
+if ($machine =~ m/^i?86$/) {
+	$warnmessage .= "<li>$Lang::tr{'legacy architecture warning'}</li>";
+}
+
 # Memory usage warning
 my @free = `/usr/bin/free`;
 $free[1] =~ m/(\d+)/;
diff --git a/langs/de/cgi-bin/de.pl b/langs/de/cgi-bin/de.pl
index b01e75eb5..7a626d616 100644
--- a/langs/de/cgi-bin/de.pl
+++ b/langs/de/cgi-bin/de.pl
@@ -1549,6 +1549,7 @@
 'lateprompting' => 'Late prompting',
 'lease expires' => 'Zuordnung verfällt',
 'least preferred' => 'weniger präferiert',
+'legacy architecture warning' => 'Sie betreiben IPFire auf einer überholten Architektur und ein Update ist empfohlen',
 'legend' => 'Legende',
 'length' => 'Länge',
 'lifetime' => 'Lebensdauer:',
diff --git a/langs/en/cgi-bin/en.pl b/langs/en/cgi-bin/en.pl
index 7e3bbec89..2badc4c48 100644
--- a/langs/en/cgi-bin/en.pl
+++ b/langs/en/cgi-bin/en.pl
@@ -1573,6 +1573,7 @@
 'lateprompting' => 'Lateprompting',
 'lease expires' => 'Lease expires',
 'least preferred' => 'least preferred',
+'legacy architecture warning' => 'You are running IPFire on a legacy architecture and it is recommended to upgrade',
 'legend' => 'Legend',
 'length' => 'Length',
 'lifetime' => 'Lifetime:',
-- 
2.20.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-08-05 12:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-05 12:23 [PATCH 1/2] index.cgi: Drop Reiser4 warning Michael Tremer
2020-08-05 12:23 ` [PATCH 2/2] index.cgi: Show a note to people who are running IPFire on i?86 Michael Tremer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox