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:
Makoto Matsushita 2003-04-23 15:38:02 +00:00
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
View File

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

View File

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