pccard_ether (126646) | pccard_ether (130151) |
---|---|
1#!/bin/sh - 2# | 1#!/bin/sh - 2# |
3# $FreeBSD: head/etc/pccard_ether 126646 2004-03-05 08:49:59Z rse $ | 3# $FreeBSD: head/etc/pccard_ether 130151 2004-06-06 11:46:29Z schweikh $ |
4# 5# pccard_ether interfacename [start|stop] [ifconfig option] 6# 7# example: pccard_ether fxp0 start link0 8# 9 10. /etc/network.subr 11 --- 246 unchanged lines hidden (view full) --- 258 # Remove the network interface and cleaning ARP table 259 ifconfig ${interface} delete 260 arp -d -a 261 262 # Clean the routing table 263 case ${removable_route_flush} in 264 [Nn][Oo]) 265 ;; | 4# 5# pccard_ether interfacename [start|stop] [ifconfig option] 6# 7# example: pccard_ether fxp0 start link0 8# 9 10. /etc/network.subr 11 --- 246 unchanged lines hidden (view full) --- 258 # Remove the network interface and cleaning ARP table 259 ifconfig ${interface} delete 260 arp -d -a 261 262 # Clean the routing table 263 case ${removable_route_flush} in 264 [Nn][Oo]) 265 ;; |
266 *) | 266 *) |
267 # flush beforehand, just in case.... 268 route -n flush -inet 269 ;; 270 esac 271 ;; 272esac | 267 # flush beforehand, just in case.... 268 route -n flush -inet 269 ;; 270 esac 271 ;; 272esac |