diff options
author | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2011-10-31 12:44:40 -0300 |
---|---|---|
committer | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2011-10-31 12:44:40 -0300 |
commit | f29ad7a147afed6adce95e3ab909e96e843b0560 (patch) | |
tree | c9aae4189998c8f3c260451b0cf37e20f1d569a0 /libre/virtualbox-parabola-modules/virtualbox-modules.install | |
parent | b0d7273e389b0063deaf339b22c58df04dd69a5a (diff) | |
download | abslibre-f29ad7a147afed6adce95e3ab909e96e843b0560.tar.gz abslibre-f29ad7a147afed6adce95e3ab909e96e843b0560.tar.bz2 abslibre-f29ad7a147afed6adce95e3ab909e96e843b0560.zip |
libre/virtualbox-modules-4.1.4-1
Diffstat (limited to 'libre/virtualbox-parabola-modules/virtualbox-modules.install')
-rw-r--r-- | libre/virtualbox-parabola-modules/virtualbox-modules.install | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/libre/virtualbox-parabola-modules/virtualbox-modules.install b/libre/virtualbox-parabola-modules/virtualbox-modules.install new file mode 100644 index 000000000..0706681bf --- /dev/null +++ b/libre/virtualbox-parabola-modules/virtualbox-modules.install @@ -0,0 +1,19 @@ +post_install() { +/bin/cat << EOF +===> You must load vboxdrv module before starting VirtualBox: +===> # modprobe vboxdrv +EOF + EXTRAMODULES='extramodules-3.1-LIBRE' + depmod $(cat /lib/modules/$EXTRAMODULES/version) +} + +post_upgrade() { + EXTRAMODULES='extramodules-3.1-LIBRE' + depmod $(cat /lib/modules/$EXTRAMODULES/version) + rmmod vboxdrv || echo 'In order to use the new version, reload all virtualbox modules manually.' +} + +post_remove() { + EXTRAMODULES='extramodules-3.1-LIBRE' + depmod $(cat /lib/modules/$EXTRAMODULES/version) + |