Source-Changes-HG archive

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

[src/trunk]: src/etc/rc.d don't bother warning about obsolete $amd_master; po...



details:   https://anonhg.NetBSD.org/src/rev/c4225b6aa2f2
branches:  trunk
changeset: 526256:c4225b6aa2f2
user:      lukem <lukem%NetBSD.org@localhost>
date:      Mon Apr 29 12:08:17 2002 +0000

description:
don't bother warning about obsolete $amd_master; postinstall now does this

diffstat:

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

diffs (32 lines):

diff -r 7d3e03d6fe28 -r c4225b6aa2f2 etc/rc.d/amd
--- a/etc/rc.d/amd      Mon Apr 29 12:05:45 2002 +0000
+++ b/etc/rc.d/amd      Mon Apr 29 12:08:17 2002 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: amd,v 1.9 2002/03/22 04:33:58 thorpej Exp $
+# $NetBSD: amd,v 1.10 2002/04/29 12:08:17 lukem Exp $
 #
 
 # PROVIDE: amd
@@ -12,7 +12,6 @@
 name="amd"
 rcvar=$name
 command="/usr/sbin/${name}"
-start_precmd="amd_precmd"
 load_rc_config $name
 
 command_args='-p -a '$amd_dir' -F /etc/amd.conf >/var/run/amd.pid'
@@ -20,12 +19,4 @@
 required_dirs="$amd_dir"
 required_vars="rpcbind"
 
-amd_precmd()
-{
-       if [ -n "$amd_master" ]; then
-               warn "\$amd_master has been deprecated."
-               return 1
-       fi
-}
-
 run_rc_command "$1"



Home | Main Index | Thread Index | Old Index