Changeset 107964 in vbox for trunk/src/VBox/Installer/linux/debian/preinst
- Timestamp:
- Jan 28, 2025 2:18:42 PM (3 months ago)
- svn:sync-xref-src-repo-rev:
- 167214
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/linux/debian/preinst
r106061 r107964 65 65 VBOXSVC_PID=`pidof VBoxSVC 2>/dev/null || true` 66 66 if [ -n "$VBOXSVC_PID" ]; then 67 # ask the daemon to terminate immediately 67 # Ask VBoxSVC to terminate gracefully if it is not 68 # busy with handling client requests. 68 69 kill -USR1 $VBOXSVC_PID 69 sleep 1 70 # Wait for VBoxSVC to terminate. 71 for attempt in 1 2 3 4 5 6 7 8 9 10; do 72 [ -n "$(pidof VBoxSVC 2> /dev/null)" ] && sleep 1 73 done 74 # Still running? 70 75 if pidof VBoxSVC > /dev/null 2>&1; then 71 76 db_fset virtualbox/old-running seen false || true
Note:
See TracChangeset
for help on using the changeset viewer.