Logüberwachungsskript

# Scriptname:       auto_printer_state.sh
# Intention:        monitor the syslog file for the connect/disconnect messages of a usb-printer
#                   and start/stop the printer in cups after finding such a message
#
#                   Since newer Cups versions do this automatically this is only useful for
#                   use with old Cups versions, e.g. under SuSE 9.0
#                   For this purpose the 'cups' init script from SuSE 9.0 was modified for also starting and
#                   stopping this script together with Cups under SuSE 9.0 and is provided together with it.
#
#                   Besides it's original application this script can of course be used to watch for some
#                   other message apearing in some other log and connecting that message with an action.
Downloads
 auto_printer_state
       auto_printer_state.sh (2.74 kb)07.02.2008 21:53:04
       cups (4.69 kb)03.02.2007 10:47:36

Hinterlasse eine Antwort

Deine E-Mail-Adresse wird nicht veröffentlicht.