1 |
diff -Nur -x '*.orig' -x '*.rej' e-smith-LPRng-1.14.0/root/etc/e-smith/templates/etc/smb.conf/50printers mezzanine_patched_e-smith-LPRng-1.14.0/root/etc/e-smith/templates/etc/smb.conf/50printers |
2 |
--- e-smith-LPRng-1.14.0/root/etc/e-smith/templates/etc/smb.conf/50printers 2003-11-25 11:56:01.000000000 -0500 |
3 |
+++ mezzanine_patched_e-smith-LPRng-1.14.0/root/etc/e-smith/templates/etc/smb.conf/50printers 2006-04-08 20:30:41.000000000 -0400 |
4 |
@@ -2,7 +2,7 @@ |
5 |
# NOTE: If you have a BSD-style print system there is no need to |
6 |
# specifically define each individual printer |
7 |
# Set public = yes to allow user 'guest account' to print |
8 |
-} |
9 |
+ $OUT = <<HERE; |
10 |
[printers] |
11 |
comment = All Printers |
12 |
path = /var/spool/samba |
13 |
@@ -10,4 +10,7 @@ |
14 |
guest ok = no |
15 |
writable = no |
16 |
printable = yes |
17 |
-use client driver = yes |
18 |
+HERE |
19 |
+ $OUT .= "use client driver = "; |
20 |
+ $OUT .= $smb{UseClientDriver} || "yes"; |
21 |
+} |