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

Re: Post script breakes kickstart file



Gerrard Geldenhuis schrieb:

Hi

I have the following few lines in a post script. When I add this to the post script running chrooted it breaks the kickstart. Meaning nothing after this lines gets executed.

f [ $(grep -c eth /proc/net/dev) -eq 4 ]; then

  SECETH='eth2'

else

  SECETH='eth1'


Is "f" equivalent to "if" or is this a typo?


I've got several post-install steps and they actually do work, after some fiddling.


cheers,
Rainer


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