Last change
on this file since 5936 was 5936, checked in by vboxsync, 17 years ago |
Sol: Added hostif setup,term scripts to installer. Added copyright notices to the scripts.
|
-
Property svn:eol-style
set to
LF
-
Property svn:executable
set to
*
-
Property svn:keywords
set to
Revision Id
|
File size:
335 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 | # innotek VirtualBox
|
---|
3 | # Copyright (C) 2007 innotek GmbH
|
---|
4 | #
|
---|
5 | # VirtualBox VNIC terminate script for Solaris hosts with Crossbow.
|
---|
6 | #
|
---|
7 |
|
---|
8 | if [ -z "$1" ]; then
|
---|
9 | echo "Missing VNIC interface name."
|
---|
10 | echo
|
---|
11 | echo "Usage: $0 vnicname"
|
---|
12 | exit 1
|
---|
13 | fi
|
---|
14 |
|
---|
15 | /sbin/ifconfig $1 unplumb
|
---|
16 | vnic_id=${1##*[a-z]}
|
---|
17 | /usr/lib/vna ${vnic_id}
|
---|
18 | exit $?
|
---|
19 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.