From 2118d4e33ef1620a2322e992da55c7d3df564fcf Mon Sep 17 00:00:00 2001 From: Stefan Saraev Date: Sun, 8 Apr 2012 22:38:07 +0300 Subject: [PATCH] virtual: vmwgfx & vboxvideo: load via initscript --- packages/linux/config/modules | 2 -- .../xf86-video-virtualbox/init.d/16_vboxvideo | 29 +++++++++++++++++++ .../driver/xf86-video-vmware/init.d/16_vmwgfx | 29 +++++++++++++++++++ 3 files changed, 58 insertions(+), 2 deletions(-) create mode 100644 packages/x11/driver/xf86-video-virtualbox/init.d/16_vboxvideo create mode 100644 packages/x11/driver/xf86-video-vmware/init.d/16_vmwgfx diff --git a/packages/linux/config/modules b/packages/linux/config/modules index e52a79ef80..00dba836e4 100644 --- a/packages/linux/config/modules +++ b/packages/linux/config/modules @@ -4,5 +4,3 @@ # at boot time, one per line. Lines beginning with "#" are ignored. coretemp -vboxvideo -vmwgfx diff --git a/packages/x11/driver/xf86-video-virtualbox/init.d/16_vboxvideo b/packages/x11/driver/xf86-video-virtualbox/init.d/16_vboxvideo new file mode 100644 index 0000000000..2324fbe040 --- /dev/null +++ b/packages/x11/driver/xf86-video-virtualbox/init.d/16_vboxvideo @@ -0,0 +1,29 @@ +################################################################################ +# Copyright (C) 2009-2010 OpenELEC.tv +# http://www.openelec.tv +# +# This Program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This Program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC.tv; see the file COPYING. If not, write to +# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ + +# +# load modules +# +# runlevels: openelec, textmode + +( + progress "loading vboxvideo" + modprobe vboxvideo +)& diff --git a/packages/x11/driver/xf86-video-vmware/init.d/16_vmwgfx b/packages/x11/driver/xf86-video-vmware/init.d/16_vmwgfx new file mode 100644 index 0000000000..21a4ce8f48 --- /dev/null +++ b/packages/x11/driver/xf86-video-vmware/init.d/16_vmwgfx @@ -0,0 +1,29 @@ +################################################################################ +# Copyright (C) 2009-2010 OpenELEC.tv +# http://www.openelec.tv +# +# This Program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This Program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC.tv; see the file COPYING. If not, write to +# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ + +# +# load modules +# +# runlevels: openelec, textmode + +( + progress "loading vmwgfx" + modprobe vmwgfx +)&