source: pkg/boss/main/virtualbox-ose/trunk/debian/virtualbox-ose.if-pre-up @ 4744

Revision 4744, 392 bytes checked in by alanbach-guest, 6 years ago (diff)
  • Added virtualbox-ose 2.0 to BOSS
Line 
1#!/bin/sh
2
3set -e
4
5case "${IFACE}" in
6    vbox*)
7        ARGS="-t ${IFACE}"
8        ;;
9    *)
10        exit 0
11        ;;
12esac
13
14test -x /usr/lib/virtualbox/VBoxTunctl || exit 0
15
16if [ -n "${IF_VIRTUALBOX_USER}" ]; then
17    ARGS="-u ${IF_VIRTUALBOX_USER} $ARGS"
18fi
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.