| Revision 4744,
392 bytes
checked in by alanbach-guest, 4 years ago
(diff) |
- Added virtualbox-ose 2.0 to BOSS
|
| Line | |
|---|
| 1 | #!/bin/sh |
|---|
| 2 | |
|---|
| 3 | set -e |
|---|
| 4 | |
|---|
| 5 | case "${IFACE}" in |
|---|
| 6 | vbox*) |
|---|
| 7 | ARGS="-t ${IFACE}" |
|---|
| 8 | ;; |
|---|
| 9 | *) |
|---|
| 10 | exit 0 |
|---|
| 11 | ;; |
|---|
| 12 | esac |
|---|
| 13 | |
|---|
| 14 | test -x /usr/lib/virtualbox/VBoxTunctl || exit 0 |
|---|
| 15 | |
|---|
| 16 | if [ -n "${IF_VIRTUALBOX_USER}" ]; then |
|---|
| 17 | ARGS="-u ${IF_VIRTUALBOX_USER} $ARGS" |
|---|
| 18 | fi |
|---|
| 19 | # if [ -n "${IF_VIRTUALBOX_GROUP}" ]; then |
|---|
| 20 | # ARGS="-g ${IF_VIRTUALBOX_GROUP} $ARGS" |
|---|
| 21 | # fi |
|---|
| 22 | |
|---|
| 23 | /usr/lib/virtualbox/VBoxTunctl $ARGS |
|---|
Note: See
TracBrowser
for help on using the repository browser.