6 lines
178 B
Plaintext
6 lines
178 B
Plaintext
|
#! /bin/bash
|
||
|
|
||
|
# If lpstat fails or if hp-systray is not installed or whatever, exit silently:
|
||
|
lpstat -h localhost -v | cut -d ' ' -f 4 | grep -q '^hp:/' && hp-systray || exit 0
|
||
|
|