summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorcjs <cjs>2001-11-06 05:55:05 +0000
committercjs <cjs>2001-11-06 05:55:05 +0000
commitd55f07da52538a6de2ed0aa637f1e7065500076a (patch)
tree29508610ebd437e832d9978e74d73b00da24b408 /net
parentcf8d6fcdf75c2cf678da58185ccefb7a81c47c5d (diff)
downloadpkgsrc-d55f07da52538a6de2ed0aa637f1e7065500076a.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')
-rw-r--r--net/pxe/MESSAGE6
-rw-r--r--net/pxe/Makefile3
-rw-r--r--net/pxe/files/pxe4
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"