issue/motd: add architecture warning also to console and ssh logins.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
Arne Fitzenreiter
2021-11-30 09:35:19 +01:00
parent 616de7524f
commit 5a7f7dd587
4 changed files with 10 additions and 0 deletions

7
config/etc-i586/motd Normal file
View File

@@ -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 -
------------------------------------------------------------------


View File

@@ -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

View File

@@ -0,0 +1 @@
etc/motd

View File

@@ -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