svc-dlmgmtd revision d62bc4badc1c1f1549c961cfb8b420e650e1272b
17d67aeb3722c094c6493a3e9a9d0cdfb9453ecdvboxsync# CDDL HEADER START
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# The contents of this file are subject to the terms of the
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# Common Development and Distribution License (the "License").
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# You may not use this file except in compliance with the License.
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# See the License for the specific language governing permissions
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# and limitations under the License.
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# When distributing Covered Code, include this CDDL HEADER in each
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# If applicable, add the following below this CDDL HEADER, with the
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# fields enclosed by brackets "[]" replaced with your own identifying
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# CDDL HEADER END
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# Use is subject to license terms.
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# ident "%Z%%M% %I% %E% SMI"
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# The real daemon is not started in a non-global zone. But we need to
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# create a dummy background process to preserve contract lifetime.
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync (while true ; do sleep 3600 ; done) &
2c691730ab202620fe427110841aa4e0075b7ccavboxsync# Start the dlmgmtd daemon.
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncif [ $? = 0 ]; then