[Pkg-sysvinit-devel] Re: r348 - sysvinit/trunk/debian/initscripts/etc/init.d

Petter Reinholdtsen pere at hungry.com
Thu Dec 15 15:55:19 UTC 2005


[Thomas Hood]
> Author: jdthood-guest
> Date: 2005-12-01 16:44:39 +0000 (Thu, 01 Dec 2005)
> New Revision: 348
>
> Modified:
>    sysvinit/trunk/debian/initscripts/etc/init.d/bootmisc.sh
> Log:
> Eliminate unneeded tmp variable
>
> Modified: sysvinit/trunk/debian/initscripts/etc/init.d/bootmisc.sh
> ===================================================================
> --- sysvinit/trunk/debian/initscripts/etc/init.d/bootmisc.sh	2005-12-01 16:35:21 UTC (rev 347)
> +++ sysvinit/trunk/debian/initscripts/etc/init.d/bootmisc.sh	2005-12-01 16:44:39 UTC (rev 348)
> @@ -59,9 +59,8 @@
>  	then
>  		savelog -q -p -c 5 /var/log/dmesg
>  		dd if=/dev/klog of=/var/log/dmesg &
> -		dmesg_pid=$!
>  		sleep 1
> -		kill $dmesg_pid
> +		kill $!

Are you sure sleep always is an internal shell function?  If it is an
external program, this would fail.



More information about the Pkg-sysvinit-devel mailing list