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

Contents of /rpms/e-smith-samba/sme7/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.2 - (show annotations) (download)
Sat Dec 15 16:01:24 2007 UTC (16 years, 10 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Import on branch sme7 of package e-smith-samba-1.14.1-1.el4.sme.src.rpm

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