pkgsrc/net/pxe/files/pxe.sh
jmmv e7fdf9b4cf Convert to the bsd.pkg.install.mk framework:
- Honour PKG_SYSCONFDIR.
- Automatically install configuration file from sample directory.
- Use RCD_SCRIPTS to automatically handle the rc.d script.
- MESSAGE is not needed because of the above two points (standard messages
  are used).

While here, avoid overriding CFLAGS while building and use the right C++
compiler (from CXX's value).

Bump PKGREVISION to 1.
2003-07-30 18:09:25 +00:00

16 lines
265 B
Bash

#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: pxe.sh,v 1.1 2003/07/30 18:09:27 jmmv Exp $
#
# PROVIDE: pxe
# REQUIRE: DAEMON
#
. /etc/rc.subr
name="pxe"
command="@PREFIX@/sbin/${name}"
required_files="@PKG_SYSCONFDIR@/${name}.conf"
load_rc_config $name
run_rc_command "$1"