pccard_ether (130151) | pccard_ether (139678) |
---|---|
1#!/bin/sh - 2# | 1#!/bin/sh - 2# |
3# $FreeBSD: head/etc/pccard_ether 130151 2004-06-06 11:46:29Z schweikh $ | 3# $FreeBSD: head/etc/pccard_ether 139678 2005-01-04 16:52:15Z 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 start` | 73 sh /etc/rc.d/dhclient stop |
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 --- |