VirtualBox

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

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

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