pccard_ether (139678) | pccard_ether (140378) |
---|---|
1#!/bin/sh - 2# | 1#!/bin/sh - 2# |
3# $FreeBSD: head/etc/pccard_ether 139678 2005-01-04 16:52:15Z ceri $ | 3# $FreeBSD: head/etc/pccard_ether 140378 2005-01-17 11:44:30Z ceri $ |
4# 5# pccard_ether interfacename [start|stop] [ifconfig option] 6# 7# example: pccard_ether fxp0 start link0 8# 9 10. /etc/network.subr 11 --- 53 unchanged lines hidden (view full) --- 65 else 66 return 67 fi 68 /sbin/dhclient -r ${interface} 69 rm -f ${pidfile} 70 case ${startstop} in 71 [Ss][Tt][Oo][Pp]) 72 if [ -z "${_nlist}" ]; then | 4# 5# pccard_ether interfacename [start|stop] [ifconfig option] 6# 7# example: pccard_ether fxp0 start link0 8# 9 10. /etc/network.subr 11 --- 53 unchanged lines hidden (view full) --- 65 else 66 return 67 fi 68 /sbin/dhclient -r ${interface} 69 rm -f ${pidfile} 70 case ${startstop} in 71 [Ss][Tt][Oo][Pp]) 72 if [ -z "${_nlist}" ]; then |
73 sh /etc/rc.d/dhclient stop | 73 sh /etc/rc.d/dhclient start |
74 else 75 start_dhcp_keep_current 76 fi 77 ;; 78 *) 79 ;; 80 esac 81} --- 191 unchanged lines hidden --- | 74 else 75 start_dhcp_keep_current 76 fi 77 ;; 78 *) 79 ;; 80 esac 81} --- 191 unchanged lines hidden --- |