Changeset View
Changeset View
Standalone View
Standalone View
libexec/rc/rc.d/bgfsck
| Show All 40 Lines | if [ -z "${rc_force}" ]; then | ||||
| startmsg "${bgfsck_msg}." | startmsg "${bgfsck_msg}." | ||||
| fi | fi | ||||
| (sleep ${background_fsck_delay}; nice -4 fsck -B -p) 2>&1 | \ | (sleep ${background_fsck_delay}; nice -4 fsck -B -p) 2>&1 | \ | ||||
| logger -p daemon.notice -t fsck & | logger -p daemon.notice -t fsck & | ||||
| } | } | ||||
| load_rc_config $name | load_rc_config $name | ||||
| # doesn't make sense to run in a svcj | |||||
| bgfsck_svcj="NO" | |||||
| run_rc_command "$1" | run_rc_command "$1" | ||||