Since I couldn't find a nicer way around it, I added the following:<br><br>1- In my class scripts I have a script that touches /target/etc/class_name<br><br>2- I added a GRUB/20-fix_grub_menulst that looks for my /target/etc/class_name and if it exists then it copies over my menu.lst.<br>
<br>That works and solves my problem, because it runs after GRUB/10-setup.<br><br>-b<br><br><div class="gmail_quote">On Wed, Dec 29, 2010 at 3:20 PM, Michael Tautschnig <span dir="ltr"><<a href="mailto:mt@debian.org">mt@debian.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5">> I guess a more simple question would be:<br>
><br>
> How do I get my script to run AFTER the GRUB/10-setup script.<br>
><br>
> Else, I'll have to add it to the GRUB class and I didn't want to do that<br>
> because I don't want this to run on all systems.<br>
><br>
<br>
</div></div>It seems that the class GRUB is defined after your desired classes. Now either<br>
you are using some class that is of too low priority or the definition of<br>
classes is simply screwed (which may well be true for the shipped simple<br>
examples).<br>
<br>
For one of my systems I have<br>
<br>
List of all classes:  DEFAULT LINUX GRUB server LAST<br>
<br>
Therefore only the scripts in server/... and LAST/... will be executed after<br>
GRUB scripts.<br>
<br>
Hope this helps,<br>
<font color="#888888">Michael<br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Brad Allison<br>Senior Systems Administrator<br>AlertSite.com<br>954-312-0188 x214<br><br>