Menus and classes problem
Ben Willcox
ben.willcox at british-gymnastics.org
Tue Sep 27 19:42:34 CEST 2005
Michael Tautschnig wrote:
> Most probably you will need another script to achieve your goal - I called it
> 02more.sh - but in your case it should probably be called 31more.sh, to be
> executed after the menu-script:
>
> #! /bin/sh
>
> for class in $classes; do
> [ "$class" = "$HOSTNAME" ] && continue
> [ -f $FAI/class/$class ] && cat $FAI/class/$class
> done
Thanks Michael. Before I saw your post I managed to solve my problem by
changing it from a .sources file to a 'normal' file and outputting the
class name to STDOUT as per usual.
Thanks,
Ben.
More information about the linux-fai
mailing list