mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
37 lines
1.1 KiB
Diff
37 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()
|