1 |
slords |
1.1 |
diff -Nur -x '*.orig' -x '*.rej' e-smith-samba-1.14.0/createlinks mezzanine_patched_e-smith-samba-1.14.0/createlinks |
2 |
|
|
--- e-smith-samba-1.14.0/createlinks 2007-10-10 15:27:22.000000000 -0400 |
3 |
|
|
+++ mezzanine_patched_e-smith-samba-1.14.0/createlinks 2007-10-10 15:26:44.000000000 -0400 |
4 |
|
|
@@ -83,6 +83,7 @@ |
5 |
|
|
safe_symlink("sigterm", "root/etc/e-smith/events/$event/services2adjust/smbd"); |
6 |
|
|
|
7 |
|
|
$event = "printer-delete"; |
8 |
|
|
+event_link("delete_printer_tdb", $event, 15); |
9 |
|
|
safe_symlink("sigterm", "root/etc/e-smith/events/$event/services2adjust/smbd"); |
10 |
|
|
|
11 |
|
|
$event = "machine-account-create"; |
12 |
|
|
diff -Nur -x '*.orig' -x '*.rej' e-smith-samba-1.14.0/root/etc/e-smith/events/actions/delete_printer_tdb mezzanine_patched_e-smith-samba-1.14.0/root/etc/e-smith/events/actions/delete_printer_tdb |
13 |
|
|
--- e-smith-samba-1.14.0/root/etc/e-smith/events/actions/delete_printer_tdb 1969-12-31 19:00:00.000000000 -0500 |
14 |
|
|
+++ mezzanine_patched_e-smith-samba-1.14.0/root/etc/e-smith/events/actions/delete_printer_tdb 2007-10-10 15:24:57.000000000 -0400 |
15 |
|
|
@@ -0,0 +1,6 @@ |
16 |
|
|
+#! /bin/sh |
17 |
|
|
+ |
18 |
|
|
+ACTION=$1 |
19 |
|
|
+PRINTER=$2 |
20 |
|
|
+ |
21 |
|
|
+exec rm -f /var/cache/samba/printing/$PRINTER.tdb |