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
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