openrc/sh
Robin H. Johnson 80853f5dbc 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>
2011-01-18 01:29:09 +00:00
..
.gitignore Ignore more foo for the BSDs 2009-05-05 10:29:52 +01:00
functions.sh.in Move non compiled libraries from /lib/rc to /libexec/rc 2009-05-23 20:38:12 +01:00
gendepends.sh.in Fix rc_${rc_svcname}_need. 2010-02-20 21:48:06 +00:00
ifwatchd-carrier.sh.in Stop using needless {} in vars 2009-04-26 21:13:26 +00:00
ifwatchd-nocarrier.sh.in Stop using needless {} in vars 2009-04-26 21:13:26 +00:00
init-common-post.sh.in Move non compiled libraries from /lib/rc to /libexec/rc 2009-05-23 20:38:12 +01:00
init-early.sh.Linux.in surpress output of loadkeys, fix setfont path check 2010-09-30 07:33:52 -05:00
init.sh.BSD.in Move non compiled libraries from /lib/rc to /libexec/rc 2009-05-23 20:38:12 +01:00
init.sh.Linux.in sh/init: Detect a mounted /proc without sleeping 2011-01-18 01:29:09 +00:00
Makefile Move non compiled libraries from /lib/rc to /libexec/rc 2009-05-23 20:38:12 +01:00
Makefile.FreeBSD We need to ensure that the init script started is correct, translating symlinks. This has a new rule - multiplexed services must exist in the same dir as the master sript. So we need to ensuret that net.lo(0) is the real script and not a symlink itself. This fixes Gentoo #219526. 2008-04-29 10:25:45 +00:00
Makefile.Linux We need to ensure that the init script started is correct, translating symlinks. This has a new rule - multiplexed services must exist in the same dir as the master sript. So we need to ensuret that net.lo(0) is the real script and not a symlink itself. This fixes Gentoo #219526. 2008-04-29 10:25:45 +00:00
Makefile.NetBSD We need to ensure that the init script started is correct, translating symlinks. This has a new rule - multiplexed services must exist in the same dir as the master sript. So we need to ensuret that net.lo(0) is the real script and not a symlink itself. This fixes Gentoo #219526. 2008-04-29 10:25:45 +00:00
rc-functions.sh.in allow net_fs_list to be extended but not replaced 2010-10-27 09:00:02 -05:00
rc-mount.sh correction for unmounting volumes with weird characters, thanks Brant 2010-10-28 20:35:09 -05:00
runscript.sh.in more whitespace cleanup 2011-01-17 04:49:12 -05:00
runtests.sh Stop using needless {} in vars 2009-04-26 21:13:26 +00:00