From: Arne Fitzenreiter Date: Tue, 30 Nov 2021 08:35:19 +0000 (+0100) Subject: issue/motd: add architecture warning also to console and ssh logins. X-Git-Url: http://git.ipfire.org/?p=people%2Fmfischer%2Fipfire-2.x.git;a=commitdiff_plain;h=5a7f7dd58733f1f59787d99e479b4c1cc9f28703 issue/motd: add architecture warning also to console and ssh logins. Signed-off-by: Arne Fitzenreiter --- diff --git a/config/etc-i586/motd b/config/etc-i586/motd new file mode 100644 index 0000000000..9e8999f165 --- /dev/null +++ b/config/etc-i586/motd @@ -0,0 +1,7 @@ +------------------------------------------------------------------ +- Security Warning! - +- You are running an architecture which reached its end of life. - +- You will not recieve updates anymore. This is a security risk. - +- https://wiki.ipfire.org/hardware/requirements - +------------------------------------------------------------------ + \ No newline at end of file diff --git a/config/rootfiles/common/stage2 b/config/rootfiles/common/i586/stage2 similarity index 99% rename from config/rootfiles/common/stage2 rename to config/rootfiles/common/i586/stage2 index b5bfdde594..9d73bf9c3b 100644 --- a/config/rootfiles/common/stage2 +++ b/config/rootfiles/common/i586/stage2 @@ -19,6 +19,7 @@ etc/issue etc/ld.so.conf etc/logrotate.conf etc/mime.types +etc/motd etc/modprobe.d etc/modprobe.d/btmrvl_sdio.conf etc/modprobe.d/cfg80211.conf diff --git a/config/rootfiles/core/162/filelists/i586/motd b/config/rootfiles/core/162/filelists/i586/motd new file mode 100644 index 0000000000..dd8ab9c31b --- /dev/null +++ b/config/rootfiles/core/162/filelists/i586/motd @@ -0,0 +1 @@ +etc/motd diff --git a/lfs/stage2 b/lfs/stage2 index 7483a11348..9032b013e7 100644 --- a/lfs/stage2 +++ b/lfs/stage2 @@ -91,6 +91,7 @@ endif echo "$(NAME) v$(VERSION) - $(SLOGAN)" > /etc/issue echo "===============================" >> /etc/issue echo "\n running on \s \r \m" >> /etc/issue + -cat /etc/motd >> /etc/issue # Bash startup files install --directory --mode=0755 --owner=root --group=root /etc/profile.d