diff options
author | Klaus Agnoletti <klaus@xenux.dk> | 2002-06-03 08:55:29 +0000 |
---|---|---|
committer | Klaus Agnoletti <klaus@xenux.dk> | 2002-06-03 08:55:29 +0000 |
commit | 3c4f09442bba23717143280412742a1e295c0931 (patch) | |
tree | a5c18c82a7c30ce3a63f5c7765e8515717cde3aa /cfengine | |
parent | 2aa74ee81a73470846a3a78f3bc1db36c0eae8b3 (diff) |
* Line 'client code page = 850' added to global configuration of samba.
Diffstat (limited to 'cfengine')
-rw-r--r-- | cfengine/cf.services.file | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/cfengine/cf.services.file b/cfengine/cf.services.file index 20b094b..ac1927b 100644 --- a/cfengine/cf.services.file +++ b/cfengine/cf.services.file @@ -162,6 +162,18 @@ editfiles: BeginGroupIfNoMatch "^[[:blank:]]*character set[[:blank:]]*=[[:blank:]]*ISO8859-1[[:blank:]]*" InsertLine ' character set = ISO8859-1' EndGroup + # + # client code page = 850 + # + LocateLineMatching "^[;[:blank:]]*client code page[[:blank:]]*=.*" + BeginGroupIfNoLineMatching "^[[:blank:]]*client code page[[:blank:]]*=[[:blank:]]*850[[:blank:]]*" + ReplaceLineWith ' client code page = 850' + EndGroup + CatchAbort + BeginGroupIfNoMatch "^[[:blank:]]*client code page[[:blank:]]*=[[:blank:]]*850[[:blank:]]*" + InsertLine ' client code page = 850' + EndGroup + # # Append the include lines for the shares definition file # |