Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc/rc.d Replace hardcoded "/var/run/named.pid" with ${pidfi...
details: https://anonhg.NetBSD.org/src/rev/d9022d134b2c
branches: trunk
changeset: 579559:d9022d134b2c
user: tron <tron%NetBSD.org@localhost>
date: Thu Mar 17 18:44:09 2005 +0000
description:
Replace hardcoded "/var/run/named.pid" with ${pidfile}.
diffstat:
etc/rc.d/named | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r 4656cd759db1 -r d9022d134b2c etc/rc.d/named
--- a/etc/rc.d/named Thu Mar 17 17:23:21 2005 +0000
+++ b/etc/rc.d/named Thu Mar 17 18:44:09 2005 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: named,v 1.14 2004/08/13 18:08:03 mycroft Exp $
+# $NetBSD: named,v 1.15 2005/03/17 18:44:09 tron Exp $
#
# PROVIDE: named
@@ -62,7 +62,7 @@
cmp -s /etc/localtime "${named_chrootdir}/etc/localtime" || \
cp -p /etc/localtime "${named_chrootdir}/etc/localtime"
fi
- ln -fs "${named_chrootdir}/var/run/named.pid" /var/run/named.pid
+ ln -fs "${named_chrootdir}${pidfile}" ${pidfile}
# Change run_rc_commands()'s internal copy of $named_flags
#
Home |
Main Index |
Thread Index |
Old Index