Browse Source

do not use -n with user-edited section between

OPENBSD_2_6
deraadt 25 years ago
parent
commit
3fc03c379a
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/etc/rc.shutdown

+ 3
- 3
src/etc/rc.shutdown View File

@ -1,4 +1,4 @@
# $OpenBSD: rc.shutdown,v 1.2 1999/07/15 14:31:52 provos Exp $
# $OpenBSD: rc.shutdown,v 1.3 1999/07/20 16:51:04 deraadt Exp $
#
# If it exists, this script is run at system-shutdown by reboot(8),
# halt(8).
@ -6,7 +6,7 @@
# run by init(8) when such an event happens.
#
echo -n /etc/rc.shutdown in progress...
echo /etc/rc.shutdown in progress...
# save part of our entropy pool for reuse on reboot
dd if=/dev/urandom of=/var/db/host.random bs=1024 count=64 >/dev/null 2>&1
@ -17,5 +17,5 @@ chmod 600 /var/db/host.random
#
echo done.
echo shutdown complete.
exit 0 # An exit code of 2 will cause init(8) to attempt powerdown.

Loading…
Cancel
Save