diff options
author | cjs <cjs@pkgsrc.org> | 2001-11-06 05:55:05 +0000 |
---|---|---|
committer | cjs <cjs@pkgsrc.org> | 2001-11-06 05:55:05 +0000 |
commit | 8b7b017497778a53a360e5952f07b4db6531f4ac (patch) | |
tree | 29508610ebd437e832d9978e74d73b00da24b408 /net/pxe | |
parent | 848b372f8b56771f4f77b87c6602585a6c6e6084 (diff) | |
download | pkgsrc-8b7b017497778a53a360e5952f07b4db6531f4ac.tar.gz |
Move config file from ${PREFIX}/etc/ to /etc/ so that sharing /usr via
network doesn't force using the same config on all hosts.
Diffstat (limited to 'net/pxe')
-rw-r--r-- | net/pxe/MESSAGE | 6 | ||||
-rw-r--r-- | net/pxe/Makefile | 3 | ||||
-rw-r--r-- | net/pxe/files/pxe | 4 |
3 files changed, 6 insertions, 7 deletions
diff --git a/net/pxe/MESSAGE b/net/pxe/MESSAGE index 43352c29515..ea31c3c1f80 100644 --- a/net/pxe/MESSAGE +++ b/net/pxe/MESSAGE @@ -1,9 +1,9 @@ ========================================================================== -$NetBSD: MESSAGE,v 1.1 2001/10/31 22:58:10 zuntum Exp $ +$NetBSD: MESSAGE,v 1.2 2001/11/06 06:57:53 cjs Exp $ The pxe daemon has now been installed on your system. Before starting - the daemon, please copy ${PREFIX}/share/examples/pxe/pxe.conf to - ${PREFIX}/etc and modify according to your needs. + the daemon, please copy ${PREFIX}/share/examples/pxe/pxe.conf to /etc + and modify according to your needs. Under NetBSD-1.5 or above, you can enable pxe on system startup by copying ${PREFIX}/etc/rc.d/pxe to /etc/rc.d and setting pxe=YES diff --git a/net/pxe/Makefile b/net/pxe/Makefile index 349445e6fbb..0974002f793 100644 --- a/net/pxe/Makefile +++ b/net/pxe/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2001/08/06 09:46:47 rh Exp $ +# $NetBSD: Makefile,v 1.2 2001/11/06 06:57:53 cjs Exp $ # DISTNAME= pxe-1.2 @@ -11,7 +11,6 @@ COMMENT= Preboot eXecution Environment (PXE) daemon GNU_CONFIGURE= YES CONFIGURE_ARGS+=--with-log=/var/log/pxe.log -CONFIGURE_ARGS+=--with-config=${PREFIX}/etc/pxe.conf post-configure: ${SED} -e 's|@@PREFIX@@|${PREFIX}|g' < ${FILESDIR}/pxe > ${WRKDIR}/pxe diff --git a/net/pxe/files/pxe b/net/pxe/files/pxe index ffd2118983d..e6bac824ef4 100644 --- a/net/pxe/files/pxe +++ b/net/pxe/files/pxe @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: pxe,v 1.1.1.1 2001/08/06 09:46:47 rh Exp $ +# $NetBSD: pxe,v 1.2 2001/11/06 05:55:05 cjs Exp $ # # PROVIDE: pxe @@ -10,7 +10,7 @@ name="pxe" command="@@PREFIX@@/sbin/${name}" -required_files="@@PREFIX@@/etc/${name}.conf" +required_files="/etc/${name}.conf" load_rc_config $name run_rc_command "$1" |