smeserver-samba/root/etc/e-smith/events/actions/delete_printer_tdb

7 lines
84 B
Bash

#! /bin/sh
ACTION=$1
PRINTER=$2
exec rm -f /var/cache/samba/printing/$PRINTER.tdb