Deleted Added
full compact
pccard_ether (162481) pccard_ether (162490)
1#!/bin/sh -
2#
1#!/bin/sh -
2#
3# $FreeBSD: head/etc/pccard_ether 162481 2006-09-20 19:48:31Z brooks $
3# $FreeBSD: head/etc/pccard_ether 162490 2006-09-21 01:44:52Z brooks $
4#
5# pccard_ether interfacename [start|stop|restart]
6#
7# example: pccard_ether fxp0 start
8#
9
10. /etc/rc.subr
11. /etc/network.subr

--- 72 unchanged lines hidden (view full) ---

84 # XXX: should probably do this by calling rc.d/routing.
85 if [ -n "`ifconfig_getargs $ifn`" ]; then
86 if ! dhcpif $ifn; then
87 setup_routes
88 fi
89 fi
90
91 # IPv6 setup
4#
5# pccard_ether interfacename [start|stop|restart]
6#
7# example: pccard_ether fxp0 start
8#
9
10. /etc/rc.subr
11. /etc/network.subr

--- 72 unchanged lines hidden (view full) ---

84 # XXX: should probably do this by calling rc.d/routing.
85 if [ -n "`ifconfig_getargs $ifn`" ]; then
86 if ! dhcpif $ifn; then
87 setup_routes
88 fi
89 fi
90
91 # IPv6 setup
92 if checkyesno ipv6_enable; then
92 if ipv6if $ifn; then
93 # XXX: network6_interface_setup assumes you're calling
94 # it with ALL the IPv6 interfaces at once and thus isn't
95 # really appropraite for this job, but it's the best we've
96 # got for now.
93 network6_interface_setup $ifn
94 fi
95}
96
97pccard_ether_stop()
98{
99 if [ -n "`ifconfig_getargs $ifn`" ]; then
100 if ! dhcpif $ifn; then

--- 29 unchanged lines hidden ---
97 network6_interface_setup $ifn
98 fi
99}
100
101pccard_ether_stop()
102{
103 if [ -n "`ifconfig_getargs $ifn`" ]; then
104 if ! dhcpif $ifn; then

--- 29 unchanged lines hidden ---