blob: 53946039ebfa8dc77b2ed3f842a62344c5070582 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/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@@/sbin/lpd
fi
|