boot process gets weirdly interrupted when using scroll lock
Doug Barton
dougb at FreeBSD.org
Wed May 19 19:49:35 UTC 2010
On 05/19/10 12:09, deeptech71 at gmail.com wrote:
> [Topic moved away from freebsd-current as the problem doesn't seem to be
> -CURRENT-specific, and I think there's a larger crowd here :).]
>
> This may give a hint. The following patch resolves the 60-second idling
> issue.
> --- bgfuck 2010-05-19 20:23:50.000000000 +0200
> +++ bgfsck 2010-05-19 20:23:40.000000000 +0200
> @@ -34,7 +34,7 @@
> check_startmsgs && echo "${bgfsck_msg}."
> fi
>
> - (sleep ${background_fsck_delay}; nice -4 fsck -B -p) 2>&1 | \
> + (sleep 1;
You can accomplish the same thing by simply setting that variable to 1 in /etc/rc.conf.
> nice -4 fsck -B -p) 2>&1 | \
> logger -p daemon.notice -t fsck &
> }
>
> So sleep is foregrounded or something?
I missed the original thread, sorry, but looking at the current state of the code it's unclear to me why the close-paren is located where it is. Can you try the attached patch and let us know if it works for you?
Doug
--
... and that's just a little bit of history repeating.
-- Propellerheads
Improve the effectiveness of your Internet presence with
a domain name makeover! http://SupersetSolutions.com/
-------------- next part --------------
Index: bgfsck
===================================================================
--- bgfsck (revision 208310)
+++ bgfsck (working copy)
@@ -34,8 +34,8 @@
check_startmsgs && echo "${bgfsck_msg}."
fi
- (sleep ${background_fsck_delay}; nice -4 fsck -B -p) 2>&1 | \
- logger -p daemon.notice -t fsck &
+ (sleep ${background_fsck_delay}; nice -4 fsck -B -p 2>&1 | \
+ logger -p daemon.notice -t fsck) &
}
load_rc_config $name
More information about the freebsd-hackers
mailing list