Last change
on this file since 5587 was 5587, checked in by vboxsync, 17 years ago |
example scripts.
|
-
Property svn:eol-style
set to
LF
-
Property svn:executable
set to
*
-
Property svn:keywords
set to
Revision Id
|
File size:
365 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | # VirtualBox VNIC terminate script for Solaris hosts with Crossbow.
|
---|
4 | # usage: ./vnicterm.sh vnicname
|
---|
5 | #
|
---|
6 | # format of VNIC interface names MUST be like [name][number]
|
---|
7 | # example: vnic1, vnic2, vnic900 etc.
|
---|
8 |
|
---|
9 | if [ -z "$1" ]; then
|
---|
10 | echo "Missing VNIC interface name."
|
---|
11 | echo
|
---|
12 | echo "Usage: $0 vnicname"
|
---|
13 | exit 1
|
---|
14 | fi
|
---|
15 |
|
---|
16 | /sbin/ifconfig $1 unplumb
|
---|
17 | exit $?
|
---|
18 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.