#!/sbin/sh # # Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. # # # Startup script for the devchassisd(1M) daemon. # . /lib/svc/share/smf_include.sh # The devchassis service is only supported in the global zone. smf_assert_globalzone # Check for a devchassisd process and exit if the daemon is already running. if /usr/bin/pgrep -x -u 0 devchassisd >/dev/null 2>&1; then echo "$0: devchassisd is already running" exit 1 fi # Start the daemon. exec /usr/lib/devchassis/devchassisd