VirtualBox

Changeset 79666 in vbox


Ignore:
Timestamp:
Jul 10, 2019 9:03:28 AM (5 years ago)
Author:
vboxsync
Message:

Additions/linux/installer: properly silence script which is allowed to fail.
bugref:9138: Additions kmod RPMs: support uek5.
Fix for last change. Missing dev null redirection.

File:
1 edited

Legend:

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

    r79510 r79666  
    356356        echo "KERNEL=${udev_fix}\"vboxuser\", NAME=\"vboxuser\", OWNER=\"vboxadd\", MODE=\"0666\"" >> /etc/udev/rules.d/60-vboxadd.rules
    357357        # Make sure the new rule is noticed.
    358         udevadm control --reload 2>&1 || true
    359         udevcontrol reload_rules 2>&1 || true
     358        udevadm control --reload >/dev/null 2>&1 || true
     359        udevcontrol reload_rules >/dev/null 2>&1 || true
    360360    fi
    361361}
     
    466466    rm -f /sbin/mount.vboxsf 2>/dev/null
    467467    rm -f /etc/udev/rules.d/60-vboxadd.rules 2>/dev/null
    468     udevadm control --reload 2>&1 || true
    469     udevcontrol reload_rules 2>&1 || true
     468    udevadm control --reload >/dev/null 2>&1 || true
     469    udevcontrol reload_rules >/dev/null 2>&1 || true
    470470}
    471471
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