[Freeipa-devel] [PATCH] #403 Handle multiline options in sysconfig.ntpd

Rob Crittenden rcritten at redhat.com
Thu Oct 21 02:25:26 UTC 2010


Simo Sorce wrote:
>
> In some Fedora versions /etc/sysconfig/ntpd has OPTIONS scattered on
> multiple line through shell expansion.
> Handle simple cases like that.
>
> Simo.

I think this will work, it's just one heck of a parser. Is something 
like the attached a simpler approach?

My version always adds the new options to the first OPTIONS block, I'm 
not sure if it matters.

rob
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: parseoptions
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20101020/c1dae2be/attachment.ksh>


More information about the Freeipa-devel mailing list