summaryrefslogtreecommitdiffstats
path: root/etc/rc.local
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1994-08-31 05:31:42 +0000
committerdg <dg@FreeBSD.org>1994-08-31 05:31:42 +0000
commite149c004635e54083175fac38276b9c5d5f138e4 (patch)
tree7f6d24943a83b86ba7ab9c23aa659152d2ac44ce /etc/rc.local
parent9335489becbd09d841b8d53f2a83a219d1e51ed6 (diff)
downloadFreeBSD-src-e149c004635e54083175fac38276b9c5d5f138e4.zip
FreeBSD-src-e149c004635e54083175fac38276b9c5d5f138e4.tar.gz
Do uname -rs instead of uname -a when generating /etc/motd.
Diffstat (limited to 'etc/rc.local')
-rw-r--r--etc/rc.local2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.local b/etc/rc.local
index 34e9ca2..8f74b38 100644
--- a/etc/rc.local
+++ b/etc/rc.local
@@ -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
OpenPOWER on IntegriCloud