~ubuntu-branches/ubuntu/precise/virtualbox/precise-updates

« back to all changes in this revision

Viewing changes to src/VBox/Installer/linux/VBox.sh

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2011-07-04 13:02:31 UTC
  • mfrom: (3.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20110704130231-l843es6wqhx614n7
Tags: 4.0.10-dfsg-1ubuntu1
* Merge from Debian unstable, remaining changes:
  - Add Apport hook.
    - debian/virtualbox-ose.files/source_virtualbox-ose.py
    - debian/virtualbox-ose.install
  - Drop *-source packages.
* Add the Modaliases control field manually for maximum backportability.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh
2
2
#
3
 
# Oracle VM VirtualBox
 
3
# Oracle VM VirtualBox startup script, Linux hosts.
4
4
#
5
 
# Copyright (C) 2006-2010 Oracle Corporation
 
5
# Copyright (C) 2006-2011 Oracle Corporation
6
6
#
7
7
# This file is part of VirtualBox Open Source Edition (OSE), as
8
8
# available from http://www.virtualbox.org. This file is free software;
77
77
    exit 0
78
78
fi
79
79
 
80
 
APP=`which $0`
81
 
APP=`basename $APP`
82
 
APP=${APP##/*/}
 
80
APP=`basename $0`
83
81
case "$APP" in
84
 
  VirtualBox|virtualbox)
85
 
    exec "$INSTALL_DIR/VirtualBox" "$@"
86
 
    ;;
87
 
  VBoxManage|vboxmanage)
88
 
    exec "$INSTALL_DIR/VBoxManage" "$@"
89
 
    ;;
90
 
  VBoxSDL|vboxsdl)
91
 
    exec "$INSTALL_DIR/VBoxSDL" "$@"
92
 
    ;;
93
 
  VBoxVRDP|VBoxHeadless|vboxheadless)
94
 
    exec "$INSTALL_DIR/VBoxHeadless" "$@"
95
 
    ;;
96
 
  VBoxBalloonCtrl|vboxballoonctrl)
97
 
    exec "$INSTALL_DIR/VBoxBalloonCtrl" "$@"
98
 
    ;;
99
 
  vboxwebsrv)
100
 
    exec "$INSTALL_DIR/vboxwebsrv" "$@"
101
 
    ;;
102
 
  *)
103
 
    echo "Unknown application - $APP"
104
 
    ;;
 
82
    VirtualBox|virtualbox)
 
83
        exec "$INSTALL_DIR/VirtualBox" "$@"
 
84
        ;;
 
85
    VBoxManage|vboxmanage)
 
86
        exec "$INSTALL_DIR/VBoxManage" "$@"
 
87
        ;;
 
88
    VBoxSDL|vboxsdl)
 
89
        exec "$INSTALL_DIR/VBoxSDL" "$@"
 
90
        ;;
 
91
    VBoxVRDP|VBoxHeadless|vboxheadless)
 
92
        exec "$INSTALL_DIR/VBoxHeadless" "$@"
 
93
        ;;
 
94
    VBoxBalloonCtrl|vboxballoonctrl)
 
95
        exec "$INSTALL_DIR/VBoxBalloonCtrl" "$@"
 
96
        ;;
 
97
    vboxwebsrv)
 
98
        exec "$INSTALL_DIR/vboxwebsrv" "$@"
 
99
        ;;
 
100
    VBoxBFE|vboxbfe)
 
101
        exec "$INSTALL_DIR/VBoxBFE" "$@"
 
102
        ;;
 
103
    *)
 
104
        echo "Unknown application - $APP"
 
105
        exit 1
 
106
        ;;
105
107
esac
 
108
exit 0