aboutsummaryrefslogtreecommitdiff
path: root/etc/rc.conf.NetBSD
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2011-01-18 01:26:34 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2011-01-18 01:29:09 +0000
commit80853f5dbc3a42419ac359ee035ebc76de86d3b3 (patch)
treed99200248b7e427d3f1c85a5d9d0b639859afe80 /etc/rc.conf.NetBSD
parent9ce957c3e722e3851a191b901bb377c13a1bbec1 (diff)
sh/init: Detect a mounted /proc without sleeping
Previously we checked if /proc was alive by reading /proc/uptime twice with a 1 second sleep between calls, so that it had time to update. This got a complaint of an entire 1 second delay, so we improve the check to be much faster without sleep. We cannot continue to use /proc/uptime as it only has a 10ms resolution. X-Gentoo-Bug: 348416 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=348416 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'etc/rc.conf.NetBSD')
0 files changed, 0 insertions, 0 deletions