summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuri Jensen <juri@xenux.dk>2001-09-17 10:37:08 +0000
committerJuri Jensen <juri@xenux.dk>2001-09-17 10:37:08 +0000
commit6c8777d496c88337814c7d4717dbe12ec9f12901 (patch)
tree38cf30c6541edeb7e7356705dab035d6410e5613
parentccacf5b0aab0762e1b169530985eaed865660c6f (diff)
* Fixed a bad typo
* Added smb-shares-xenux.conf
-rw-r--r--cfengine/cf.services.file14
-rw-r--r--samba/smb-shares-xenux.conf9
2 files changed, 10 insertions, 13 deletions
diff --git a/cfengine/cf.services.file b/cfengine/cf.services.file
index 67e0438..eb347f6 100644
--- a/cfengine/cf.services.file
+++ b/cfengine/cf.services.file
@@ -65,18 +65,6 @@ editfiles:
ResetSearch "1"
#
- # printing = lprng
- #
- LocateLineMatching "^[;[:blank:]]*æprinting[[:blank:]]*=.*"
- BeginGroupIfNoLineMatching '^[[:blank:]]*printing[[:blank:]]*=[[:blank:]]*lprng[[:blank:]]*'
- ReplaceLineWith ' printing = lprng'
- EndGroup
- CatchAbort
- BeginGroupIfNoMatch '^[[:blank:]]*printing[[:blank:]]*=[[:blank:]]*lprng[[:blank:]]*'
- InsertLine ' printing = lprng'
- EndGroup
-
- #
# workgroup = $(site)
#
LocateLineMatching "^[;[:blank:]]*workgroup[[:blank:]]*=.*"
@@ -313,7 +301,7 @@ editfiles:
#
# printing = lprng
#
- LocateLineMatching "^[;[:blank:]]*æprinting[[:blank:]]*=.*"
+ LocateLineMatching "^[;[:blank:]]*printing[[:blank:]]*=.*"
BeginGroupIfNoLineMatching '^[[:blank:]]*printing[[:blank:]]*=[[:blank:]]*lprng[[:blank:]]*'
ReplaceLineWith ' printing = lprng'
EndGroup
diff --git a/samba/smb-shares-xenux.conf b/samba/smb-shares-xenux.conf
new file mode 100644
index 0000000..0eec9a3
--- /dev/null
+++ b/samba/smb-shares-xenux.conf
@@ -0,0 +1,9 @@
+[mp3]
+ comment = Mp3 filer
+ path = /var/local/filesharing/mp3
+ public = no
+ valid users = @mp3
+ force group = +mp3
+ writable = yes
+ create mask = 0660
+ directory mask = 0770