diff -Naur VirtualBox-3.1.4_OSE/src/VBox/Installer/linux/vboxdrv.sh.in VirtualBox-3.1.4_OSE-magellan/src/VBox/Installer/linux/vboxdrv.sh.in --- VirtualBox-3.1.4_OSE/src/VBox/Installer/linux/vboxdrv.sh.in 2010-02-12 20:49:21.000000000 +0100 +++ VirtualBox-3.1.4_OSE-magellan/src/VBox/Installer/linux/vboxdrv.sh.in 2010-02-19 01:35:52.000000000 +0100 @@ -68,6 +68,8 @@ system=suse elif [ -f /etc/gentoo-release ]; then system=gentoo + elif [ -f /etc/mageversion ]; then + system=magellan fi fi @@ -128,6 +130,17 @@ if [ "`which $0`" = "/sbin/rc" ]; then shift fi + elif [ "$system" = "magellan" ]; then + . /etc/rc.d/init.d/functions + fail_msg() { + evaluate_retval + } + succ_msg() { + evaluate_retval + } + begin_msg() { + echo -e ${COLOREDSTAR}"$1" + } else fail_msg() { echo " ...failed!" @@ -137,7 +150,7 @@ echo " ...done." } fi - if [ "$system" != "gentoo" ]; then + if [ "$system" != "gentoo" ] || [ "$system" != "magellan" ]; then begin_msg() { [ -z "${1:-}" ] && return 1 if [ -z "${2:-}" ]; then