1#!/bin/rc 2 3# desc: shut down the ethernet connection 4# prereq: 5 6 7switch($1) { 8case checkready 9 if(! isipdevup /net/ether0) { 10 stopether=notdone 11 export stopether 12 } 13 14case go 15 ip/ipconfig ether /net/ether0 unbind 16 17case checkdone 18 stopether=notdone 19 export stopether 20} 21