diff options
-rw-r--r-- | cfengine/cf.services.ftp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/cfengine/cf.services.ftp b/cfengine/cf.services.ftp index 669d2a9..90b152f 100644 --- a/cfengine/cf.services.ftp +++ b/cfengine/cf.services.ftp @@ -5,15 +5,15 @@ editfiles: DefineClasses "proftpd_reload" AbortAtLineMatching "^[[:blank:]]*VirtualHost[[:blank:]]*.*$" # - # LsDefaultOptions "-la" + # ListOptions "-la" # - WarnIfNoLineMatching "^[[:blank:]]*LsDefaultOptions[[:blank:]].*$" - BeginGroupIfNoLineMatching "^[[:blank:]]*LsDefaultOptions[[:blank:]].*$" - Append 'LsDefaultOptions "-la" # Added by cfengine' + WarnIfNoLineMatching "^[[:blank:]]*ListOptions[[:blank:]].*$" + BeginGroupIfNoLineMatching "^[[:blank:]]*ListOptions[[:blank:]].*$" + Append 'ListOptions "-la" # Added by cfengine' EndGroup - LocateLineMatching "^[[:blank:]]*LsDefaultOptions[[:blank:]].*$" - BeginGroupIfNoLineMatching '^[[:blank:]]*LsDefaultOptions[[:blank:]]"-la"([[:blank:]]+(#.*)?)?$' - ReplaceLineWith 'LsDefaultOptions "-la" # Edited by cfengine' + LocateLineMatching "^[[:blank:]]*ListOptions[[:blank:]].*$" + BeginGroupIfNoLineMatching '^[[:blank:]]*ListOptions[[:blank:]]"-la"([[:blank:]]+(#.*)?)?$' + ReplaceLineWith 'ListOptions "-la" # Edited by cfengine' EndGroup # # DefaultRoot ~ |