equal
deleted
inserted
replaced
18 * information: Portions Copyright [yyyy] [name of copyright owner] |
18 * information: Portions Copyright [yyyy] [name of copyright owner] |
19 * |
19 * |
20 * CDDL HEADER END |
20 * CDDL HEADER END |
21 */ |
21 */ |
22 /* |
22 /* |
23 * Copyright 2004 Sun Microsystems, Inc. All rights reserved. |
23 * Copyright 2005 Sun Microsystems, Inc. All rights reserved. |
24 * Use is subject to license terms. |
24 * Use is subject to license terms. |
25 */ |
25 */ |
26 |
26 |
27 #pragma ident "%Z%%M% %I% %E% SMI" |
27 #pragma ident "%Z%%M% %I% %E% SMI" |
28 |
28 |
650 controller_listp = args.controller_listp; |
650 controller_listp = args.controller_listp; |
651 bus_listp = args.bus_listp; |
651 bus_listp = args.bus_listp; |
652 |
652 |
653 cache_loaded = 1; |
653 cache_loaded = 1; |
654 |
654 |
655 if ((status = events_start_event_watcher()) != 0) { |
655 /* |
656 return (status); |
656 * Only start the event thread if we are not doing an install |
|
657 */ |
|
658 if (getenv("_LIBDISKMGT_INSTALL") == NULL) { |
|
659 if ((status = events_start_event_watcher()) != 0) { |
|
660 return (status); |
|
661 } |
657 } |
662 } |
658 |
663 |
659 return (0); |
664 return (0); |
660 } |
665 } |
661 |
666 |