summaryrefslogtreecommitdiff
path: root/cfengine
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2002-09-19 13:14:22 +0000
committerJonas Smedegaard <dr@jones.dk>2002-09-19 13:14:22 +0000
commit3b81b13995bd9c99e494586baa70e5fdabf0e9fa (patch)
tree8225870f2dc0b591344420c50db92130fc356168 /cfengine
parent74cb396b4d6eb231a953f87681bf968240982910 (diff)
cfengine: hide rem'ed lines in logon script, and just append (now that the whole file is purged).
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"