freebsd-ports/print/p910nd/files/p910nd.in
Kurt Jaeger 80b9d5c45e New port: print/p910nd
p910nd is a small printer daemon intended for diskless workstations
that does not spool to disk but passes the job directly to the printer.

WWW: http://p910nd.sourceforge.net/

PR:		180446
Submitted by:	kozlov.sergey.404@gmail.com
2014-08-09 19:54:58 +00:00

28 lines
502 B
Bash

#!/bin/sh
# $FreeBSD$
#
# PROVIDE: p910nd
# REQUIRE: DAEMON
# BEFORE: LOGIN
# KEYWORD: shutdown
#
# Add the following line to /etc/rc.conf to enable p910nd:
#
# p910nd_enable="YES"
# # optional
# p910nd_flags=""
#
# Note:
# p910nd bind per default at the ipv6 address!
# If you want p910nd binding at ipv4 address, you have
# to use option 'p910nd_flags' with -i parameter
. /etc/rc.subr
name=p910nd
rcvar=p910nd_enable
command=%%PREFIX%%/sbin/p910nd
load_rc_config $name
run_rc_command "$1"