From owner-freebsd-bugs Tue Jul 4 13:30:04 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id NAA04544 for bugs-outgoing; Tue, 4 Jul 1995 13:30:04 -0700 Received: (from gnats@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id NAA04537 ; Tue, 4 Jul 1995 13:30:02 -0700 Date: Tue, 4 Jul 1995 13:30:02 -0700 Message-Id: <199507042030.NAA04537@freefall.cdrom.com> From: gjbroom@csr.uvic.ca Reply-To: gjbroom@csr.uvic.ca To: freebsd-bugs Subject: conf/589: poor sysconfig/rc interaction when starting amd In-Reply-To: Your message of Tue, 4 Jul 1995 13:24:44 -0700 <199507042024.NAA01910@kinsella.UVic.CA> Sender: bugs-owner@FreeBSD.org Precedence: bulk >Number: 589 >Category: conf >Synopsis: /etc/rc should eval amd ${amdflags} >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs (FreeBSD bugs mailing list) >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jul 4 13:30:01 1995 >Originator: >Organization: >Release: FreeBSD 2.0-BUILT-19950612 i386 >Environment: >Description: When amd is started in /etc/rc, using $amdflags from sysconfig, it would be really *really* nice if the line read: echo -n 'amd'; eval amd ${amdflags} ^^^^ This way, you can single-quote amdflags in sysconfig, and use backquotes to get information from the NIS. If the backquotes are double-quoted, an NIS lookup occurs before the network is started. My $amdflags look like: amdflags='-a /tmp_mnt -l syslog `ypcat -k amd.master`' so amd works very much like Sun's automount (and I can automatically generate amd.master on my NIS master). >How-To-Repeat: >Fix: Change "amd ${amdflags}" to "eval amd ${amdflags}" in /etc/rc. >Audit-Trail: >Unformatted: