summaryrefslogtreecommitdiffstats
path: root/etc/rc.local
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1993-10-18 19:08:36 +0000
committerrgrimes <rgrimes@FreeBSD.org>1993-10-18 19:08:36 +0000
commit1126ae8500c5270c52a045a9b636417688557d3a (patch)
tree3294f26c08ba7f7403747e28d683f5289a0f5df0 /etc/rc.local
parent346384711418e38d7e521dbd016a10b42f21fb1c (diff)
downloadFreeBSD-src-1126ae8500c5270c52a045a9b636417688557d3a.zip
FreeBSD-src-1126ae8500c5270c52a045a9b636417688557d3a.tar.gz
Fix for version name in /etc/motd, now uses uname to get this information!
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 0c7f379..dbbd909 100644
--- a/etc/rc.local
+++ b/etc/rc.local
@@ -6,7 +6,7 @@
T=/tmp/_motd
rm -f $T
-strings /386bsd | grep version: | sed 's/version: /FreeBSD 1.0./' > $T
+uname -a > $T
echo "" >> $T
sed '1,/^$/d' < /etc/motd >> $T
cp $T /etc/motd
OpenPOWER on IntegriCloud