Re: kickstart %pre help on C5.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tue, Jan 12, 2010 at 2:38 PM, Alan McKay <alan.mckay@xxxxxxxxx> wrote:
> The following %pre script hangs on me - I get the little GUI window
> that comes up and says "Running pre-install scripts" and it hangs
> there
[snip]
> select STDISK in yes no
> do
>        [ "$STDISK" != "" ]     && break
> done
> PS3=$SAVEPS3
> echo "# nothing" > /tmp/part-include

I'm not using any %pre, but have lots of %post scripts. None seem to
work unless I put it all on one line. Even using the line continuation
character fails.

For example, this fails:
DISABLE_LIST="pcscd sendmail bluetooth"
for item in ${DISABLE_LIST}; do
   chkconfig ${item} off
done

But this works:
..
for item in ${DISABLE_LIST}; do chkconfig ${item} off; done
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux