1a84601801d5bd045712787a3ef59313795389a1vboxsync# VBoxService wrapper script.
1a84601801d5bd045712787a3ef59313795389a1vboxsync# Load required kernel extensions before start service (if necessary).
1a84601801d5bd045712787a3ef59313795389a1vboxsync# Copyright (C) 2007-2013 Oracle Corporation
1a84601801d5bd045712787a3ef59313795389a1vboxsync# This file is part of VirtualBox Open Source Edition (OSE), as
1a84601801d5bd045712787a3ef59313795389a1vboxsync# available from http://www.virtualbox.org. This file is free software;
1a84601801d5bd045712787a3ef59313795389a1vboxsync# you can redistribute it and/or modify it under the terms of the GNU
1a84601801d5bd045712787a3ef59313795389a1vboxsync# General Public License (GPL) as published by the Free Software
1a84601801d5bd045712787a3ef59313795389a1vboxsync# Foundation, in version 2 as it comes in the "COPYING" file of the
1a84601801d5bd045712787a3ef59313795389a1vboxsync# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
1a84601801d5bd045712787a3ef59313795389a1vboxsync# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
1a84601801d5bd045712787a3ef59313795389a1vboxsyncecho "Check if kernel extensions loaded..."
1a84601801d5bd045712787a3ef59313795389a1vboxsync if [ -z "$loaded" ] ; then
1a84601801d5bd045712787a3ef59313795389a1vboxsync echo "Loading $item kernel extension..."