diff options
author | Jonas Smedegaard <dr@jones.dk> | 2002-02-21 04:47:38 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2002-02-21 04:47:38 +0000 |
commit | 30fd1460525b9e8eb71e6f0b2123fa845a18a25e (patch) | |
tree | 6d7b7d5611b43f56cfe5cce225f147bcb89dace2 /cfengine | |
parent | e234e8fce1da2c8a712b4b5990793835063e9bd0 (diff) |
cfengine: Proftpd doesn't chroot jails when line ends with a comment.
Diffstat (limited to 'cfengine')
-rw-r--r-- | cfengine/cf.services.ftp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cfengine/cf.services.ftp b/cfengine/cf.services.ftp index f90f8a3..669d2a9 100644 --- a/cfengine/cf.services.ftp +++ b/cfengine/cf.services.ftp @@ -20,11 +20,11 @@ editfiles: # WarnIfNoLineMatching "^[[:blank:]]*DefaultRoot[[:blank:]].*$" BeginGroupIfNoLineMatching "^[[:blank:]]*DefaultRoot[[:blank:]].*$" - Append 'DefaultRoot ~ # Added by cfengine' + Append 'DefaultRoot ~' EndGroup LocateLineMatching "^[[:blank:]]*DefaultRoot[[:blank:]].*$" - BeginGroupIfNoLineMatching "^[[:blank:]]*DefaultRoot[[:blank:]]+~[[:blank:]].*$" - ReplaceLineWith 'DefaultRoot ~ # Edited by cfengine' + BeginGroupIfNoLineMatching "^[[:blank:]]*DefaultRoot[[:blank:]]+~$" + ReplaceLineWith 'DefaultRoot ~' EndGroup UnsetAbort "^[[:blank:]]*VirtualHost[[:blank:]]*.*$" } |