From 4ca463816f28a475c8a66f2084a2d66128110123 Mon Sep 17 00:00:00 2001 From: obrien Date: Fri, 28 Jul 2000 08:46:08 +0000 Subject: The result of 'set' gives parameters starting with $1, not $0. Submitted by: green --- contrib/isc-dhcp/client/scripts/freebsd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib') diff --git a/contrib/isc-dhcp/client/scripts/freebsd b/contrib/isc-dhcp/client/scripts/freebsd index 1655175..f3ed17c8 100755 --- a/contrib/isc-dhcp/client/scripts/freebsd +++ b/contrib/isc-dhcp/client/scripts/freebsd @@ -187,7 +187,7 @@ if [ x$reason = xTIMEOUT ]; then done set $new_static_routes while [ $# -gt 1 ]; do - route add $0 $1 + route add $1 $2 shift; shift done echo search $new_domain_name >/etc/resolv.conf.std -- cgit v1.1