VirtualBox

Changeset 58085 in vbox for trunk


Ignore:
Timestamp:
Oct 7, 2015 12:00:04 PM (9 years ago)
Author:
vboxsync
Message:

Installers/linux: routines.sh: remove existing /sbin/rc symlinks before creating new ones.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/linux/routines.sh

    r57940 r58085  
    163163    test -x "${script}" && test ! "${name}" = "" ||
    164164        { echo "${self}: invalid arguments" >&2; return 1; }
     165    # Do not unconditionally silence the following "ln".
     166    test -L "/sbin/rc${name}" && rm "/sbin/rc${name}"
    165167    ln -s "${script}" "/sbin/rc${name}"
    166168    test -x "`which systemctl 2>/dev/null`" &&
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