diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2011-01-18 01:26:34 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2011-01-18 01:29:09 +0000 |
commit | 80853f5dbc3a42419ac359ee035ebc76de86d3b3 (patch) | |
tree | d99200248b7e427d3f1c85a5d9d0b639859afe80 /etc/rc.conf.in | |
parent | 9ce957c3e722e3851a191b901bb377c13a1bbec1 (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.in')
0 files changed, 0 insertions, 0 deletions