summaryrefslogtreecommitdiff
path: root/daemons
diff options
context:
space:
mode:
Diffstat (limited to 'daemons')
-rw-r--r--daemons/rc.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/daemons/rc.sh b/daemons/rc.sh
index 84ccaaab..c311b829 100644
--- a/daemons/rc.sh
+++ b/daemons/rc.sh
@@ -71,8 +71,8 @@ echo done
echo -n updating /etc/motd...
echo GNU\'s Not Unix Version `uname --release` > /tmp/newmotd
-egrep -v 'GNU|Version' /etc/motd >> /tmp/t1
-mv /tmp/t1 /etc/motd
+egrep -v 'GNU|Version' /etc/motd >> /tmp/newmotd
+mv /tmp/newmotd /etc/motd
chmod 664 /etc/motd
echo done