VirtualBox

Changeset 58416 in vbox


Ignore:
Timestamp:
Oct 26, 2015 11:56:38 AM (9 years ago)
Author:
vboxsync
Message:

Installer/linux (host): silence more unwanted output.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/linux/prerm-common.sh

    r58324 r58416  
    3434
    3535# Stop the ballon control service
    36 stop_init_script vboxballoonctrl-service 2>/dev/null
     36stop_init_script vboxballoonctrl-service >/dev/null 2>&1
    3737# Stop the autostart service
    38 stop_init_script vboxautostart-service 2>/dev/null
     38stop_init_script vboxautostart-service >/dev/null 2>&1
    3939# Stop the web service
    40 stop_init_script vboxweb-service 2>/dev/null
     40stop_init_script vboxweb-service >/dev/null 2>&1
    4141# Do this check here after we terminated the web service: check whether VBoxSVC
    4242# is running and exit if it can't be stopped.
     
    5353remove_init_script vboxweb-service
    5454# Stop kernel module and uninstall runlevel script
    55 stop_init_script vboxdrv 2>/dev/null
     55stop_init_script vboxdrv >/dev/null 2>&1
    5656delrunlevel vboxdrv
    5757remove_init_script vboxdrv
    5858# And do final clean-up
    59 "${MY_PATH}/vboxdrv.sh" cleanup
     59"${MY_PATH}/vboxdrv.sh" cleanup >/dev/null  # Do not silence errors for now
    6060# Stop host networking and uninstall runlevel script (obsolete)
    61 stop_init_script vboxnet 2>/dev/null
    62 delrunlevel vboxnet 2>/dev/null
    63 remove_init_script vboxnet 2>/dev/null
     61stop_init_script vboxnet >/dev/null 2>&1
     62delrunlevel vboxnet >/dev/null 2>&1
     63remove_init_script vboxnet >/dev/null 2>&1
    6464rm -f /sbin/vboxconfig
    6565exit 0
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