openbsd-ports/sysutils/LPRng/files/lprng.sh

11 lines
230 B
Bash
Raw Normal View History

1997-11-14 19:04:24 -05:00
#!/bin/sh
# Find out if lpd is already running. I guess you could also detect
# the existence of /var/run/printer.
killall -s lpd > /dev/null 2>&1
if [ $? != 0 ]; then
echo -n ' printer'; @@PREFIX@@/libexec/lpd
fi