VirtualBox

Ignore:
Timestamp:
Oct 9, 2009 12:31:47 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
53344
Message:

Additions/x11: delete stale VBoxClient pidfiles before starting new instances of the services

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/Installer/98vboxadd-xclient

    r21922 r23645  
    1818#
    1919
     20# It can happen that pidfiles from a sudo session can land in the user's
     21# home directory and prevent new ones from being created.  This is not really
     22# our fault, but the user may not quite appreciate that...
     23for i in $HOME/.vboxclient-*.pid; do
     24  if test -r $i && ! ps -e | grep `cat $i`; then
     25    rm -f $i
     26  fi
     27done
     28
    2029/usr/bin/VBoxClient --clipboard
    2130/usr/bin/VBoxClient --display
Note: See TracChangeset for help on using the changeset viewer.

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