/[smeserver]/rpms/e-smith-samba/sme8/e-smith-samba-1.14.0-printer_tdb_delete.patch
ViewVC logotype

Contents of /rpms/e-smith-samba/sme8/e-smith-samba-1.14.0-printer_tdb_delete.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Thu Oct 11 14:39:15 2007 UTC (17 years ago) by slords
Branch: MAIN
CVS Tags: e-smith-samba-1_14_0-31_el5_sme, e-smith-samba-1_14_0-32_el5_sme, e-smith-samba-1_14_0-33_el5_sme, e-smith-samba-1_14_0-35_el5_sme, e-smith-samba-1_14_0-36_el5_sme, e-smith-samba-1_14_0-34_el5_sme
Updates

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

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed