Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc/rc.d The new am-utils use now /etc/amd.conf and no longe...



details:   https://anonhg.NetBSD.org/src/rev/082f91b24d62
branches:  trunk
changeset: 499505:082f91b24d62
user:      veego <veego%NetBSD.org@localhost>
date:      Tue Nov 21 12:20:12 2000 +0000

description:
The new am-utils use now /etc/amd.conf and no longer the $amd_master file.
Despite that /etc/amd.conf is now the default configuration file, it needs
to be defined if you supply other options when you start amd, so add it here.

diffstat:

 etc/rc.d/amd |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 23c169503ca9 -r 082f91b24d62 etc/rc.d/amd
--- a/etc/rc.d/amd      Tue Nov 21 12:14:18 2000 +0000
+++ b/etc/rc.d/amd      Tue Nov 21 12:20:12 2000 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: amd,v 1.6 2000/09/19 13:04:38 lukem Exp $
+# $NetBSD: amd,v 1.7 2000/11/21 12:20:12 veego Exp $
 #
 
 # PROVIDE: amd
@@ -13,8 +13,8 @@
 command="/usr/sbin/${name}"
 load_rc_config $name
 
-command_args='-p -a '$amd_dir' `sed s/#.*$// <'$amd_master'` >/var/run/amd.pid'
-required_files="$amd_master"
+command_args='-p -a '$amd_dir' -F /etc/amd.conf >/var/run/amd.pid'
+required_files="/etc/amd.conf"
 required_dirs="$amd_dir"
 required_vars="rpcbind"
 



Home | Main Index | Thread Index | Old Index