mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-22 08:53:41 +01:00
Do uname -rs instead of uname -a when generating /etc/motd.
This commit is contained in:
parent
e81097cf46
commit
5510f449aa
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=2421
@ -6,7 +6,7 @@
|
||||
|
||||
T=/tmp/_motd
|
||||
rm -f $T
|
||||
uname -a > $T
|
||||
uname -rs > $T
|
||||
echo "" >> $T
|
||||
sed '1,/^$/d' < /etc/motd >> $T
|
||||
cp $T /etc/motd
|
||||
|
Loading…
Reference in New Issue
Block a user