summaryrefslogtreecommitdiff
path: root/daemons
diff options
context:
space:
mode:
Diffstat (limited to 'daemons')
-rw-r--r--daemons/ChangeLog4
-rw-r--r--daemons/rc.sh2
2 files changed, 5 insertions, 1 deletions
diff --git a/daemons/ChangeLog b/daemons/ChangeLog
index de2a49c3..6d9351ec 100644
--- a/daemons/ChangeLog
+++ b/daemons/ChangeLog
@@ -1,3 +1,7 @@
+Tue Aug 13 08:13:04 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
+
+ * rc.sh: When deleting files from /tmp, use -f flag to rm.
+
Sat Jul 20 01:06:07 1996 Miles Bader <miles@gnu.ai.mit.edu>
* getty.c (main): Get the tty name from the right element in ARGV.
diff --git a/daemons/rc.sh b/daemons/rc.sh
index b113dac1..3b62b9e0 100644
--- a/daemons/rc.sh
+++ b/daemons/rc.sh
@@ -46,7 +46,7 @@ echo -n cleaning up left over files...
rm -f /etc/nologin
rm -f /var/lock/LCK.*
if test -d /tmp; then
- (cd /tmp; find . ! -name . ! -name lost+found ! -name quotas -exec rm -r {} \; )
+ (cd /tmp; find . ! -name . ! -name lost+found ! -name quotas -exec rm -rf {} \; )
fi
if test -d /var/run; then
(cd /var/run && { rm -rf -- *; cp /dev/null utmp; chmod 644 utmp; })