Mailinglist Archive: opensuse-autoinstall (101 mails)

< Previous Next >
Re: [suse-autoinstall] @SUSE: Improvement for /etc/init.d/autoyast
  • From: Uwe Gansert <ug@xxxxxxx>
  • Date: Wed, 8 Mar 2006 13:29:07 +0000 (UTC)
  • Message-id: <200603081429.05899.ug@xxxxxxx>
On Friday 03 March 2006 17:50, Bernd Nies wrote:

> An Autoyast improvement for future SUSE releases that would make setting
> up a host using Autoyast with post install scripts easier.
>
> Sort the scripts in /var/adm/autoinstall/init.d alphabetically before
> they are executed. So the order can be defined according to the runlevel
> scripts in /etc/init.d/rc?.d.
>
> ==CUT==
> start)
> # Remember status and be verbose
> for script in `find $INITSCRIPT_DIR -type f |sort`; do
> echo -n "Executing AutoYaST script: $script"
> BASENAME=`basename $script`
> sh -x $script 2&> $LOG_DIR/$BASENAME.log
> mv $script $SCRIPT_DIR
> rc_status -v
> done
> chkconfig autoyast off
> ;;
> ==CUT==
>
> Currently the execution order is undefined.

sounds reasonable. I'll take a closer look at it soon. Thanx.

--
ciao, Uwe Gansert

Uwe Gansert, Server Technologies Team
SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany
e-mail: uwe.gansert@xxxxxxx, Tel: +49-(0)911-74053-0,
Fax: +49-(0)911-74053-476, Web: http://www.suse.de

< Previous Next >
Follow Ups
References