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.
exit $SMF_EXIT_ERR_CONFIG
exit $SMF_EXIT_ERR_CONFIG
exit $SMF_EXIT_ERR_CONFIG
if smf_is_nonglobalzone; then
exit $SMF_EXIT_ERR_CONFIG
if [ -f $LOGINDEVPERM ]; then
cp /tmp/tmp.$$ $LOGINDEVPERM
cp /tmp/tmp.$$ $LOGINDEVPERM
cat >> $ROOT_PATH/var/svc/profile/upgrade <<\__ENABLE_OTHERS
/usr/sbin/svccfg -s svc:/application/x11/x11-server \
setprop options/tcp_listen = true
cat >> $ROOT_PATH/var/svc/profile/upgrade <<\_DEL_LOCAL_NSCD
if [ $? -ne 0 ]; then
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