[opensuse-autoinstall] Execution order of scripts
Hi, is there any assured execution order of scripts of the same type? Imagine two chroot-scripts foo.sh and bar.sh. Are they executed in the order they appear in the autoyast file? Or is the order more or less random? Michael -- biff4emacsen - A biff-like tool for (X)Emacs http://www.c0t0d0s0.de/biff4emacsen/biff4emacsen.html -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Tuesday 16 January 2007 16:29, Michael Welle wrote:
is there any assured execution order of scripts of the same type? Imagine two chroot-scripts foo.sh and bar.sh. Are they executed in the order they appear in the autoyast file? Or is the order more or less random?
they should be executed in the order by which they appear in the XML file. An exception are init-scripts which are executed in the order of: "find /var/adm/autoinstall/scripts -type f |sort" -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany Business: http://www.suse.de/~ug now playing ROTERSAND - The Fire -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Hi, Uwe Gansert <ug@suse.de> writes:
On Tuesday 16 January 2007 16:29, Michael Welle wrote:
is there any assured execution order of scripts of the same type? Imagine two chroot-scripts foo.sh and bar.sh. Are they executed in the order they appear in the autoyast file? Or is the order more or less random?
they should be executed in the order by which they appear in the XML file. An exception are init-scripts which are executed in the order of: "find /var/adm/autoinstall/scripts -type f |sort" ah, fine. Makes the things easier for me.
Thanks Michael -- biff4emacsen - A biff-like tool for (X)Emacs http://www.c0t0d0s0.de/biff4emacsen/biff4emacsen.html -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (2)
-
Michael Welle
-
Uwe Gansert