mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-12 09:58:36 +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
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 New Issue
Block a user