#!/bin/sh
 
PKGINFO=/bin/pkginfo
PKGRM=/usr/sbin/pkgrm
 
#
# Check for Motif runtime
#
 
 
if  [ -x /usr/dt/bin/dtconfig ] 
then
	/usr/dt/bin/dtconfig -inetd
	if [ $? -eq 0 ]
	then
                exit 0
        else 
                exit 1
        fi
fi

if [ -x /usr/dt/bin/dtprintinfo ]
then
	/usr/dt/bin/dtprintinfo -populate
	
	if [ $? -eq 0 ]
	then
		exit 0
	else
		exit 1
	fi
fi
