1 |
#!/bin/bash |
#!/bin/bash |
2 |
# $Header: /root/magellan-cvs/src/virtualbox/virtualbox-config.sh,v 1.5 2007-06-28 16:48:21 niro Exp $ |
# $Header: /root/magellan-cvs/src/virtualbox/virtualbox-config.sh,v 1.7 2007-08-19 03:05:05 niro Exp $ |
3 |
# Configures virtualbox for Magellan-Linux |
# Configures virtualbox for Magellan-Linux |
4 |
|
|
5 |
LIBDIR=/usr/lib |
LIBDIR=/usr/lib |
70 |
fi |
fi |
71 |
|
|
72 |
# load the module |
# load the module |
73 |
if [[ xx$(uname -r) = x${KERNEL_VERSION} ]] |
if [[ x$(uname -r) = x${KERNEL_VERSION} ]] |
74 |
then |
then |
75 |
mecho "Loading kernel-module ${VBOXMODULE} ..." |
mecho "Loading kernel-module ${VBOXMODULE} ..." |
76 |
modprobe $(basename ${VBOXMODULE} .ko) |
modprobe $(basename ${VBOXMODULE} .ko) |
84 |
|
|
85 |
echo |
echo |
86 |
mecho "Virtualbox is now configured for your system." |
mecho "Virtualbox is now configured for your system." |
87 |
mecho "Do not forget to add you users to the 'virtualbox' group." |
mecho "Do not forget to add your users to the 'virtualbox' group." |
88 |
echo |
echo |
89 |
|
|
90 |
exit 0 |
exit 0 |