From owner-freebsd-current Mon Jul 24 19:58:47 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id TAA03568 for current-outgoing; Mon, 24 Jul 1995 19:58:47 -0700 Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.cdrom.com (8.6.11/8.6.6) with ESMTP id TAA03562 for ; Mon, 24 Jul 1995 19:58:41 -0700 Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.9/8.6.9) id MAA01538; Tue, 25 Jul 1995 12:46:46 +0930 From: Michael Smith Message-Id: <199507250316.MAA01538@genesis.atrad.adelaide.edu.au> Subject: Re: Knobs in /etc/sysconfig To: jkh@time.cdrom.com (Jordan K. Hubbard) Date: Tue, 25 Jul 1995 12:46:46 +0930 (CST) Cc: current@FreeBSD.org In-Reply-To: <2781.806636239@time.cdrom.com> from "Jordan K. Hubbard" at Jul 24, 95 06:37:19 pm Content-Type: text Content-Length: 1048 Sender: current-owner@FreeBSD.org Precedence: bulk Jordan K. Hubbard stands accused of saying: > /etc/sysconfig: > > # set to NO if you don't want CMU SNMP services > snmp_flags="public ro" > > /etc/netstart: > > if [ "x$snmp_flags" != "xNO" -a -x /usr/local/libexec/snmpd ]; then > echo 'snmp daemon: ' /usr/local/libexec/snmpd $snmp_flags & > fi (Unless I'm mistraken, the 'x' is a historic wart, and test can now handle empty arguments...) > Comments? Please ensure that the default "yes" values are documented in the comments preceeding each knob; preferably in some standard format, eg: # default: (Yes, I'm tinkering with a sticky editor. No, its nowhere near ready) > Jordan -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] My car has "demand start" - Terry Lambert [[