Well, it doesn't work .... B.t.w. my client system to install is Fedora 16.
The while-loop is looking for the directory /mnt/sysimage/etc/ssh. When i create it at this phase via cmd line the script does the rest and everything is going on. But the script is called by /bin/sh. Of course this is a link to /bin/bash, but maybe this is the problem????? Other scripts later are running with /bin/bash. Detlev -- Detlev | Institut fuer Mikroelektronische Systeme Habicht | D-30167 Hannover +49 511 76219662 [email protected] --------+-------- Handy +49 172 5415752 --------------------------- Am 22.12.2011 um 16:03 schrieb Gary Algier: > Try modifying the snippet to have the while inside a subshell: > > Original: > # Loop until the corresponding rpm is installed > if [ "$keys_found" = "yes" ]; then > while : ; do > sleep 10 > ... > done & > fi > > Use subshell: > # Loop until the corresponding rpm is installed > if [ "$keys_found" = "yes" ]; then > ( > while : ; do > sleep 10 > ... > done > ) & > fi > > I have found other times that some versions of bash do not parse properly > with & on the line. The version of bash you are using is a function of what > is supplied on the target system _and_ it is what's on the minimal install > environment which may not keep up with fixes. > > On 12/22/11 09:48, Detlev Habicht wrote: >> No ... it doesn't help. :-( >> >> In the main screen i see "R....
_______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
