VirtualBox

Changeset 56881 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Jul 9, 2015 4:57:23 AM (10 years ago)
Author:
vboxsync
Message:

Installers/linux: /etc/init.d/service may not exist, use /sbin/rcservice instead.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/installer/vboxadd.sh

    r56860 r56881  
    455455    # Put mount.vboxsf in the right place
    456456    ln -sf "$lib_path/$PACKAGE/mount.vboxsf" /sbin
     457    # And an rc file to re-build the kernel modules and re-set-up the X server.
     458    ln -sf "$lib_path/$PACKAGE/vboxadd" /sbin/rcvboxadd
     459    ln -sf "$lib_path/$PACKAGE/vboxadd-x11" /sbin/rcvboxadd-x11
    457460    # At least Fedora 11 and Fedora 12 require the correct security context when
    458461    # executing this command from service scripts. Shouldn't hurt for other
     
    529532    # Remove other files
    530533    rm /sbin/mount.vboxsf 2>/dev/null
     534    rm /sbin/rcvboxadd 2>/dev/null
     535    rm /sbin/rcvboxadd-x11 2>/dev/null
    531536    rm /etc/udev/rules.d/60-vboxadd.rules 2>/dev/null
    532537}
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette