dhclient (126744) | dhclient (129492) |
---|---|
1#!/bin/sh 2# 3# $NetBSD: dhclient,v 1.8 2002/03/22 04:33:58 thorpej Exp $ | 1#!/bin/sh 2# 3# $NetBSD: dhclient,v 1.8 2002/03/22 04:33:58 thorpej Exp $ |
4# $FreeBSD: head/etc/rc.d/dhclient 126744 2004-03-08 12:25:05Z pjd $ | 4# $FreeBSD: head/etc/rc.d/dhclient 129492 2004-05-20 14:16:05Z mtm $ |
5# 6 7# PROVIDE: dhclient 8# REQUIRE: netif ipfw ipfilter mountcritlocal 9# BEFORE: NETWORKING 10# KEYWORD: FreeBSD nojail 11# 12# Note that there no syslog logging of dhclient messages at boot because --- 19 unchanged lines hidden (view full) --- 32 fi 33 34 # Determine the scope of the command 35 # 36 _cooked_list="$dhcp_list" 37 if [ -n "$_cmdifn" ]; then 38 eval _cooked_list=\"`expr "$dhcp_list" : ".*\($_cmdifn\).*"`\" 39 if [ -z "$_cooked_list" ]; then | 5# 6 7# PROVIDE: dhclient 8# REQUIRE: netif ipfw ipfilter mountcritlocal 9# BEFORE: NETWORKING 10# KEYWORD: FreeBSD nojail 11# 12# Note that there no syslog logging of dhclient messages at boot because --- 19 unchanged lines hidden (view full) --- 32 fi 33 34 # Determine the scope of the command 35 # 36 _cooked_list="$dhcp_list" 37 if [ -n "$_cmdifn" ]; then 38 eval _cooked_list=\"`expr "$dhcp_list" : ".*\($_cmdifn\).*"`\" 39 if [ -z "$_cooked_list" ]; then |
40 err "No such network interface: $_cmdifn" 41 return 1 | 40 err 1 "No such network interface: $_cmdifn" |
42 fi 43 fi 44} 45 46dhclient_prestart() 47{ 48 if [ $dhclient_common_error -eq 1 ]; then 49 return 1 --- 65 unchanged lines hidden --- | 41 fi 42 fi 43} 44 45dhclient_prestart() 46{ 47 if [ $dhclient_common_error -eq 1 ]; then 48 return 1 --- 65 unchanged lines hidden --- |