summaryrefslogtreecommitdiff
path: root/cfengine
diff options
context:
space:
mode:
Diffstat (limited to 'cfengine')
-rw-r--r--cfengine/cf.services.file4
1 files changed, 2 insertions, 2 deletions
diff --git a/cfengine/cf.services.file b/cfengine/cf.services.file
index be88959..38bd0a0 100644
--- a/cfengine/cf.services.file
+++ b/cfengine/cf.services.file
@@ -192,8 +192,8 @@ editfiles:
AutoCreate
BeginGroupIfFileIsNewer "/etc/local-COMMON/samba/netlogon/logon-$(fqhost).bat"
EmptyEntireFilePlease
- SetLine "rem DO NOT EDIT - auto-created by cfengine $(date)"
- PrependIfNoLineMatching "^rem .* cfengine .*"
+ Append "@echo off"
+ Append "rem DO NOT EDIT - auto-created by cfengine $(date)"
InsertFile "/etc/local-COMMON/samba/netlogon/logon-$(fqhost).bat"
EndGroup
FixEndOfLine "dos"