Changeset 22030 in vbox for trunk/src/VBox/Installer
- Timestamp:
- Aug 6, 2009 12:12:15 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/solaris/vboxconfig.sh
r21775 r22030 29 29 BIN_DEVFSADM=/usr/sbin/devfsadm 30 30 BIN_BOOTADM=/sbin/bootadm 31 BIN_SVCADM=/usr/sbin/svcadm 32 BIN_SVCCFG=/usr/sbin/svccfg 31 33 BIN_IFCONFIG=/sbin/ifconfig 32 34 … … 442 444 fatal=$1 443 445 444 # @todo halt services, remove_drivers, unpatch_files 446 # stop and unregister webservice SMF (if present) 447 servicefound=`svcs -a | grep "virtualbox/webservice"` 448 if test ! -z "$servicefound"; then 449 $BIN_SVCADM disable -s svc:/application/virtualbox/webservice:default 450 $BIN_SVCCFG delete svc:/application/virtualbox/webservice:default 451 fi 452 453 # stop and unregister zoneaccess SMF (if present) 454 servicefound=`svcs -a | grep "virtualbox/zoneaccess"` 455 if test ! -z "$servicefound"; then 456 $BIN_SVCADM disable -s svc:/application/virtualbox/zoneaccess 457 $BIN_SVCCFG delete svc:/application/virtualbox/zoneaccess 458 fi 459 460 remove_drivers "$fatal" 461 if test "$?" -eq 0; then 462 return 0; 463 fi 464 return 1 445 465 } 446 466 … … 458 478 check_bin_path $BIN_DEVFSADM 459 479 check_bin_path $BIN_BOOTADM 480 check_bin_path $BIN_SVCADM 481 check_bin_path $BIN_SVCCFG 460 482 check_bin_path $BIN_IFCONFIG 461 483 … … 482 504 esac 483 505 506 if test "$?" -eq 0; then 507 exit 0 508 fi 509 510 exit 1 511
Note:
See TracChangeset
for help on using the changeset viewer.