svc-labeld revision f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0N/A exit $SMF_EXIT_ERR_CONFIG
0N/A exit $SMF_EXIT_ERR_CONFIG
0N/A exit $SMF_EXIT_ERR_CONFIG
0N/Aif smf_is_nonglobalzone; then
0N/A exit $SMF_EXIT_ERR_CONFIG
0N/A if [ -f $LOGINDEVPERM ]; then
0N/A /usr/sbin/svccfg -s svc:/application/x11/x11-server \
0N/A setprop options/tcp_listen = true
exit $SMF_EXIT_ERR_FATAL
exit $SMF_EXIT_ERR_FATAL
if [ -z "$SMF_FMRI" ]; then
exit $SMF_EXIT_ERR_NOSMF
# A sign of trying temporary enablement...no-no
exit $SMF_EXIT_ERR_CONFIG
if (smf_is_system_labeled); then
exit $SMF_EXIT_OK
exit $SMF_EXIT_OK
exit $SMF_EXIT_ERR_CONFIG
exit $SMF_EXIT_OK
exit $SMF_EXIT_OK
exit $SMF_EXIT_ERR_CONFIG
# Uncomment audio and usb device entries in /etc/logindevperm.
if [ -f $LOGINDEVPERM ]; then
echo "$0: ERROR: cannot remove sys_labeling in $ROOT_PATH/etc/system"
exit $SMF_EXIT_ERR_FATAL
exit $SMF_EXIT_OK