VirtualBox

source: vbox/trunk/src/VBox/Devices/Network/solaris/vnicterm_solaris.sh@ 5936

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
8if [ -z "$1" ]; then
9 echo "Missing VNIC interface name."
10 echo
11 echo "Usage: $0 vnicname"
12 exit 1
13fi
14
15/sbin/ifconfig $1 unplumb
16vnic_id=${1##*[a-z]}
17/usr/lib/vna ${vnic_id}
18exit $?
19
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette