[Lunar-commits] r18366 - lunar-iso/trunk/lunar-install/sbin

Steven Michalske hardkrash at lunar-linux.org
Fri Jan 27 20:51:52 UTC 2006


perhaps look at the error status of grub  and wait longer if an error  
does pop up
or have it knotify you of the error?  pipe the error to a tmp file  
and have a dialog with the output?


On Jan 27, 2006, at 11:50 AM, Auke Kok wrote:

> Author: sofar
> Date: 2006-01-27 19:50:04 +0000 (Fri, 27 Jan 2006)
> New Revision: 18366
>
> Modified:
>    lunar-iso/trunk/lunar-install/sbin/lunar-install
> Log:
> Don't use curses and wait 2 seconds in all cases. Also grub is  
> dainbread and doesn't return an error status code in case an error  
> happened. I despise grub. thank you.
>
>
> Modified: lunar-iso/trunk/lunar-install/sbin/lunar-install
> ===================================================================
> --- lunar-iso/trunk/lunar-install/sbin/lunar-install	2006-01-27  
> 19:46:18 UTC (rev 18365)
> +++ lunar-iso/trunk/lunar-install/sbin/lunar-install	2006-01-27  
> 19:50:04 UTC (rev 18366)
> @@ -567,7 +567,8 @@
>  		echo "root ($GRUB_ROOT)"
>  		echo "setup ($GRUB_DISC)"
>  		echo "quit"
> -	) | grub
> +	) | grub --no-curses
> +	sleep 2
>
>  	# setup grub details
>  	if [ "$BOOT" == "$ROOT" ]; then
>
> _______________________________________________
> Lunar-commits mailing list
> Lunar-commits at lunar-linux.org
> http://foo-projects.org/mailman/listinfo/lunar-commits



More information about the Lunar-commits mailing list