#!/usr/bin/sh # # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. # . /lib/svc/share/smf_include.sh # # Disable fmd if we can't write to its directory. # WDIR=/var/fm if [[ ! -w $WDIR ]] then smf_method_exit $SMF_EXIT_TEMP_DISABLE unwriteable_var_fm \ "$WDIR is not writable" fi exec /usr/lib/fm/fmd/fmd "$@"