mirror of
https://github.com/freebsd/freebsd-src
synced 2024-11-05 18:22:52 +00:00
Set appropriate tag "fsck" to logger(1) for background fsck messages.
PR: 51174 Submitted by: Alex Popa <razor@ldc.ro>
This commit is contained in:
parent
89056245c0
commit
7172e3d4bf
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=113904
2 changed files with 2 additions and 2 deletions
2
etc/rc
2
etc/rc
|
@ -1001,7 +1001,7 @@ case ${background_fsck} in
|
|||
echo "${bgfsck_msg}."
|
||||
|
||||
(sleep ${background_fsck_delay}; nice -4 fsck -B -p) 2>&1 | \
|
||||
logger -p daemon.notice &
|
||||
logger -p daemon.notice -t fsck &
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ bgfsck_start ()
|
|||
echo "${bgfsck_msg}."
|
||||
|
||||
(sleep ${background_fsck_delay}; nice -4 fsck -B -p) 2>&1 | \
|
||||
logger -p daemon.notice &
|
||||
logger -p daemon.notice -t fsck &
|
||||
}
|
||||
|
||||
load_rc_config $name
|
||||
|
|
Loading…
Reference in a new issue