mirror of
https://github.com/freebsd/freebsd-src
synced 2024-11-05 18:22:52 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue