NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: rc.d problem



On Fri, Jan 18, 2019 at 06:52:51PM +0700, Robert Elz wrote:

>   | Looks like kind a silly problem, but I can't find where it
>   | happen.
> 
> Do you happen to have some non-standard (ie: not netbsd)
> sleep command installed?
> 
> The rc scripts use "sleep 0.05" but not all versions of sleep
> support non-integral values.

I never replaced original one. The only replacement was done - 
upgrading via build.sh distribution sets. Just checked cvsweb -
I have recent version of sleep.c

[root@almaz sleep]$ cd /usr/src/bin/sleep/
[root@almaz sleep]$ grep NetBSD Makefile 
#       $NetBSD: Makefile,v 1.9 1997/08/04 01:13:07 perry Exp $
[root@almaz sleep]$ grep NetBSD sleep.c 
/* $NetBSD: sleep.c,v 1.24 2011/08/29 14:51:19 joerg Exp $ */
__RCSID("$NetBSD: sleep.c,v 1.24 2011/08/29 14:51:19 joerg Exp $");
[root@almaz sleep]$ TOOLDIR=/export/build/tools/ make
[root@almaz sleep]$ ./sleep 0.05
usage: sleep seconds

-- 
Sincerely yours,
Dima Veselov
Physics R&D Establishment of Saint-Petersburg University


Home | Main Index | Thread Index | Old Index