summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cfengine/cf.services.file12
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
#