NetBSD Problem Report #6900
Received: (qmail 2296 invoked from network); 28 Jan 1999 15:51:10 -0000
Message-Id: <199901281049.FAA05614@pzero.sandelman.ottawa.on.ca>
Date: Thu, 28 Jan 1999 05:49:39 -0500 (EST)
From: Michael Richardson <mcr@pzero.sandelman.ottawa.on.ca>
Reply-To: mcr@pzero.sandelman.ottawa.on.ca
To: gnats-bugs@gnats.netbsd.org
Subject: dhclient-script is missing a fi
X-Send-Pr-Version: 3.95
>Number: 6900
>Category: misc
>Synopsis: if no working leases are found, script fails
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: misc-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jan 28 08:05:01 +0000 1999
>Closed-Date: Fri Jan 29 19:05:16 +0000 1999
>Last-Modified: Fri Jan 29 19:05:49 +0000 1999
>Originator: Michael Richardson
>Release: 1.3.3
>Organization:
Sandelman Software Works Corporation
>Environment:
System: NetBSD pzero 1.3I NetBSD 1.3I (PZERO) #4: Wed Jan 27 00:12:05 EST 1999 mcr@istari.sandelman.ottawa.on.ca:/j/netbsd/obj/PZERO i386
>Description:
/etc/dhclient-script: 175: Syntax error: end of file unexpected (expecting "fi")
>How-To-Repeat:
Run dhclient with static leases and no dhcp server
>Fix:
*** /tmp/k2 Thu Jan 28 05:48:56 1999
--- /etc/dhclient-script Thu Jan 28 05:45:06 1999
***************
*** 155,160 ****
--- 157,163 ----
mv /etc/resolv.conf.std /etc/resolv.conf
exit 0
fi
+ fi
ifconfig $interface inet -alias $new_ip_address $medium
for router in $old_routers; do
route delete default $router >/dev/null 2>&1
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: tron
State-Changed-When: Fri Jan 29 11:05:16 PST 1999
State-Changed-Why:
This bug is fixed in -current. We will try to pullup the fix into 1.3.4.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.