slackbuilds_ponce/system/virtualbox-addons/rc.vboxadd.diff
Heinz Wiesinger 04e8c0f66a system/virtualbox-addons: Renamed from virtualbox-ose-addons and updated for version 4.0.4
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
2011-04-05 18:54:18 -05:00

36 lines
1.1 KiB
Diff

--- vboxadd.sh 2011-02-17 17:31:03.000000000 +0100
+++ vboxadd.sh.new 2011-04-03 13:50:51.367000031 +0200
@@ -465,31 +465,13 @@
# setup_script
setup()
{
- setup_modules
- mod_succ="$?"
- extra_setup
- if [ "$mod_succ" -eq "0" ]; then
- if running_vboxguest || running_vboxadd; then
- printf "You should restart your guest to make sure the new modules are actually used\n\n"
- else
- start
- fi
- fi
+ echo "Not implemented! Please use the virtualbox-kernel-addons.SlackBuild available at SlackBuilds.org instead."
}
# cleanup_script
cleanup()
{
- # Delete old versions of VBox modules.
- cleanup_modules
- depmod
-
- # Remove old module sources
- rm -rf /usr/src/vboxadd-* /usr/src/vboxguest-* /usr/src/vboxvfs-* /usr/src/vboxsf-* /usr/src/vboxvideo-*
-
- # Remove other files
- rm /sbin/mount.vboxsf 2>/dev/null
- rm /etc/udev/rules.d/60-vboxadd.rules 2>/dev/null
+ echo "Not implemented! Please use removepkg or pkgtool to remove virtualbox-addons and/or virtualbox-kernel-addons instead."
}
dmnstatus()