[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LocateLineMatching not working correctly
From: |
Alexander Mattausch |
Subject: |
Re: LocateLineMatching not working correctly |
Date: |
Fri, 08 Dec 2000 17:27:28 +0100 |
Peter Weilbacher wrote:
>
> Hi,
>
> I just tried a script for a SuSE Linux machine which used to be
> working ok with 1.5.4 with 1.6.0.a11 and now 1.6.0, but
> LocateLineMatching does not seem to be working correctly.
>
> I do
>
> editfiles:
>
> { /etc/rc.config
> LocateLineMatching 'USE_KERNEL_NFSD'
> ReplaceLineWith 'USE_KERNEL_NFSD=no'
> LocateLineMatching 'USE_NIS_FOR_AUTOFS'
> ReplaceLineWith 'USE_NIS_FOR_AUTOFS=yes'
> }
>
> in cf.linux and
>
> # grep USE_KERNEL_NFSD /etc/rc.config
> USE_KERNEL_NFSD="no"
Is
LocateLineMatching 'USE_KERNEL_NFSD.*'
doing the job?
Regards,
Alex Mattausch