Ooops, overlooked one MOUNTCRITLOCAL reference in the rename to
CRITLOCALMOUNTED.
This commit is contained in:
parent
da697e67ba
commit
6cb68e4497
8
etc/rc
8
etc/rc
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# $NetBSD: rc,v 1.174 2020/07/22 16:50:41 martin Exp $
|
# $NetBSD: rc,v 1.175 2020/09/08 16:10:53 martin Exp $
|
||||||
#
|
#
|
||||||
# rc --
|
# rc --
|
||||||
# Run the scripts in /etc/rc.d with rcorder, and log output
|
# Run the scripts in /etc/rc.d with rcorder, and log output
|
||||||
|
@ -191,7 +191,7 @@ rc_real_work()
|
||||||
# * Scripts run during the boot may clear /tmp and/var/run, so even
|
# * Scripts run during the boot may clear /tmp and/var/run, so even
|
||||||
# if they are writable, using those directories too early may be
|
# if they are writable, using those directories too early may be
|
||||||
# problematic. We assume that it's safe to write to our log file
|
# problematic. We assume that it's safe to write to our log file
|
||||||
# after the MOUNTCRITLOCAL script has run.
|
# after the CRITLOCALMOUNTED script has run.
|
||||||
#
|
#
|
||||||
# * /usr/bin/tee cannot be used because the /usr file system may not
|
# * /usr/bin/tee cannot be used because the /usr file system may not
|
||||||
# be mounted early in the boot.
|
# be mounted early in the boot.
|
||||||
|
@ -322,10 +322,10 @@ rc_postprocess_metadata()
|
||||||
printf "%s\n" "$msg"
|
printf "%s\n" "$msg"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
# After the MOUNTCRITLOCAL script has finished, it's
|
# After the CRITLOCALMOUNTED script has finished, it's
|
||||||
# OK to flush the log to disk
|
# OK to flush the log to disk
|
||||||
case "$1" in
|
case "$1" in
|
||||||
*/MOUNTCRITLOCAL)
|
*/CRITLOCALMOUNTED)
|
||||||
rc_log_flush OK
|
rc_log_flush OK
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in New Issue