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 (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved. |
23 # Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved. |
24 # |
24 # |
25 |
25 |
26 # These are the SMF start/stop/restart methods for ipmievd. |
26 # These are the SMF start/stop/restart methods for ipmievd. |
27 |
27 |
28 # smf(5) |
28 # smf(5) |
50 echo "$0: No BMC device found: disabling." |
50 echo "$0: No BMC device found: disabling." |
51 /usr/sbin/svcadm disable $SMF_FMRI |
51 /usr/sbin/svcadm disable $SMF_FMRI |
52 exit $SMF_EXIT_OK |
52 exit $SMF_EXIT_OK |
53 fi |
53 fi |
54 |
54 |
55 /usr/lib/ipmievd sel |
55 /usr/lib/ipmievd -I bmc sel |
56 [ $? -ne 0 ] && exit 1 |
56 [ $? -ne 0 ] && exit 1 |
57 ;; |
57 ;; |
58 |
58 |
59 *) |
59 *) |
60 echo "Usage: $0 start" |
60 echo "Usage: $0 start" |