Subversion Repositories planix.SVN

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

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