summaryrefslogtreecommitdiff
path: root/usr/src/cmd/dlmgmtd
diff options
context:
space:
mode:
authorJerry Jelinek <jerry.jelinek@joyent.com>2012-05-10 18:53:17 +0000
committerJerry Jelinek <jerry.jelinek@joyent.com>2012-05-10 18:53:17 +0000
commitdaed00c85d6191a8157024bfe2ed580786c6e347 (patch)
treecdbf2c224eae6074ed7f3a825b430cb68c1525dc /usr/src/cmd/dlmgmtd
parent7f6cabc4671891ff04b097e973889f6abbf19702 (diff)
downloadillumos-joyent-daed00c85d6191a8157024bfe2ed580786c6e347.tar.gz
OS-1159 minimize zone footprint
Diffstat (limited to 'usr/src/cmd/dlmgmtd')
-rw-r--r--usr/src/cmd/dlmgmtd/svc-dlmgmtd9
1 files changed, 4 insertions, 5 deletions
diff --git a/usr/src/cmd/dlmgmtd/svc-dlmgmtd b/usr/src/cmd/dlmgmtd/svc-dlmgmtd
index 7559207535..a75e71f9b3 100644
--- a/usr/src/cmd/dlmgmtd/svc-dlmgmtd
+++ b/usr/src/cmd/dlmgmtd/svc-dlmgmtd
@@ -23,17 +23,16 @@
#
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
+# Copyright 2012 Joyent, Inc. All rights reserved.
#
-# ident "%Z%%M% %I% %E% SMI"
. /lib/svc/share/smf_include.sh
-# The real daemon is not started in a non-global zone. But we need to
-# create a dummy background process to preserve contract lifetime.
+# The real daemon is not started in a non-global zone. Exit to leave
+# an empty contract.
if smf_is_nonglobalzone; then
- (while true ; do sleep 3600 ; done) &
- exit $SMF_EXIT_OK
+ exit $SMF_EXIT_NODAEMON
fi
# Start the dlmgmtd daemon.