diff options
author | Juri Jensen <juri@xenux.dk> | 2001-09-17 10:59:52 +0000 |
---|---|---|
committer | Juri Jensen <juri@xenux.dk> | 2001-09-17 10:59:52 +0000 |
commit | f3a2b7287012d3021859007ef8ced28fe5ab7177 (patch) | |
tree | 02fefd780e757272cdc8fb59fc87f66023e2d30e /cfengine | |
parent | 386cd2b23e8fa9a1f32aa66f74bb7e76a0121e73 (diff) |
* Fixed some typos.
* Added samba/netlogon/common.bat
Diffstat (limited to 'cfengine')
-rw-r--r-- | cfengine/cf.services.file | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/cfengine/cf.services.file b/cfengine/cf.services.file index eb347f6..2968dc4 100644 --- a/cfengine/cf.services.file +++ b/cfengine/cf.services.file @@ -232,10 +232,10 @@ editfiles: # # [programmer] # - BeginGroupIfNoLineMatching "^\[programmer\]" - Append '[programmer]' + BeginGroupIfNoLineMatching "^\[software\]" + Append '[software]' Append ' path = $(pgrshare)' - Append ' comment = Programmer' + Append ' comment = Fælles software' Append ' browsable = yes' Append ' guest ok = yes' Append ' writeable = yes' @@ -266,7 +266,7 @@ editfiles: BeginGroupIfFileIsNewer "/etc/local-COMMON/samba/smb-shares-$(site).conf" EmptyEntireFilePlease InsertFile "/etc/local-COMMON/samba/smb-shares-$(site).conf" - Append "# Edited by cfengine $(date)" + Append "; Edited by cfengine $(date)" EndGroup DefineClasses "samba_reload" } @@ -296,6 +296,23 @@ editfiles: EndGroup } + # + # Batch file for mounting shares automatically + # + { /etc/samba/netlogon/common.bat + # + # We don't make this file dynamically, but instead we copy the contents + # of a master file, but only if it's newer than the one installed. + # + BeginGroupIfFileIsNewer "/etc/local-COMMON/samba/netlogon/common.bat" + AutoCreate + EmptyEntireFilePlease + InsertFile "/etc/local-COMMON/samba/netlogon/common.bat" + Append "rem Edited by cfengine $(date)" + EndGroup + DefineClasses "samba_reload" + } + lprng:: { /etc/samba/smb.conf # |