- Timestamp:
- Sep 16, 2010 9:10:46 AM (14 years ago)
- Location:
- trunk/src/VBox/Installer/linux
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/linux/debian/preinst.in
r32251 r32542 29 29 VBOXSVC_PID=`pidof VBoxSVC 2> /dev/null || true` 30 30 if [ -n "$VBOXSVC_PID" ]; then 31 # try graceful termination; terminate the webservice first 32 if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then 33 invoke-rc.d vboxweb-service stop || true 34 else 35 /etc/init.d/vboxweb-service stop || true 31 if [ -f /etc/init.d/vboxweb-service ]; then 32 # try graceful termination; terminate the webservice first 33 if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then 34 invoke-rc.d vboxweb-service stop || true 35 else 36 /etc/init.d/vboxweb-service stop || true 37 fi 38 kill -USR1 $VBOXSVC_PID 36 39 fi 37 kill -USR1 $VBOXSVC_PID38 40 sleep 1 39 41 if pidof VBoxSVC > /dev/null 2>&1; then -
trunk/src/VBox/Installer/linux/routines.sh
r32326 r32542 98 98 VBOXSVC_PID=`pidof VBoxSVC 2> /dev/null` 99 99 if [ -n "$VBOXSVC_PID" ]; then 100 kill -USR1 $VBOXSVC_PID 100 if [ -f /etc/init.d/vboxweb-service ]; then 101 kill -USR1 $VBOXSVC_PID 102 fi 101 103 sleep 1 102 104 if pidof VBoxSVC > /dev/null 2>&1; then
Note:
See TracChangeset
for help on using the changeset viewer.