summaryrefslogtreecommitdiff
path: root/usr/src/cmd/cvcd
diff options
context:
space:
mode:
authorhshaw <none@none>2006-08-22 04:36:17 -0700
committerhshaw <none@none>2006-08-22 04:36:17 -0700
commita1e4d62bc1ea0bd683c63f185da43cda7aec8f20 (patch)
treee25858d68505d5aae1b2a88750a7349e76191164 /usr/src/cmd/cvcd
parent023ccc1e19f859b2016632db1dac0290517ea57c (diff)
downloadillumos-joyent-a1e4d62bc1ea0bd683c63f185da43cda7aec8f20.tar.gz
6184360 /lib/svc/method/svc-mdmonitor may leave tmpfiles
6240575 some methods which should be using $SMF_FMRI are not 6441739 mdmonitor service method can exit with success when it should fail
Diffstat (limited to 'usr/src/cmd/cvcd')
-rw-r--r--usr/src/cmd/cvcd/svc-cvcd11
1 files changed, 4 insertions, 7 deletions
diff --git a/usr/src/cmd/cvcd/svc-cvcd b/usr/src/cmd/cvcd/svc-cvcd
index dbbb5eb7aa..6b4748bd8c 100644
--- a/usr/src/cmd/cvcd/svc-cvcd
+++ b/usr/src/cmd/cvcd/svc-cvcd
@@ -3,9 +3,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -21,7 +20,7 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -40,10 +39,8 @@
. /lib/svc/share/smf_include.sh
-FMRI=svc:/system/cvc
-
getproparg() {
- val=`svcprop -p $2 $FMRI`
+ val=`svcprop -p $2 $SMF_FMRI`
[ -n "$val" ] && [ "$val" != 'none' ] && echo $1 $val
}