diff options
Diffstat (limited to 'samba')
-rw-r--r-- | samba/smb-shares.conf.m4 | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/samba/smb-shares.conf.m4 b/samba/smb-shares.conf.m4 index 2183f5e..84d8acb 100644 --- a/samba/smb-shares.conf.m4 +++ b/samba/smb-shares.conf.m4 @@ -2,7 +2,7 @@ ifelse(` /etc/samba/smb-shares.m4 Copyright 2002 Jonas Smedegaard <dr@jones.dk> -$Id: smb-shares.conf.m4,v 1.2 2002-04-22 11:25:18 jonas Exp $ +$Id: smb-shares.conf.m4,v 1.3 2002-06-11 13:42:01 jonas Exp $ m4 share definitions for generating Samba server smb.conf include file @@ -136,5 +136,16 @@ ifdef(<_veto>, define(<_homefiles>, <ifelse($1,win, <_files($1,$2,$3,$4)>)>)dnl +define(<_printer>, +<ifelse($1,win, +[$2] +ifelse($3,,, +< comment = $3 +>)dnl + path = $4 + printable = yes + printer name = $5 +,<>)dnl +>)dnl dnl include(/etc/local-COMMON/file-FQDN.m4)dnl |