6 XCOMM @(#) $TOG: configTT.src /main/1 1998/03/11 16:18:40 mgreess $
9 XCOMM (c) Copyright Hewlett-Packard Company, 1993
22 TMPFILE=/tmp/inetd.conf
23 TTDBSERVERD=CDE_INSTALLATION_TOP/bin/rpc.ttdbserver
26 XCOMM see if it already exists
29 nawk -v ttdb=$TTDBSERVERD \
30 '{if ($1 == "ttdbserver/1" && $6 != ttdb)
39 awk '{if ($1 == "ttdbserver/1")
40 print $0 > "/tmp/tt-already-there"
43 if [ ! -f /tmp/tt-already-there ]
45 echo "ttdbserver/1 stream rpc/tcp4 wait root $TTDBSERVERD $TTDBSERVERD" \
48 rm /tmp/tt-already-there
55 TMPFILE=/tmp/inetd.conf
56 TTDBSERVERD=CDE_INSTALLATION_TOP/bin/rpc.ttdbserver
58 nawk -v ttdb=$TTDBSERVERD \
59 '{if ($1 == "ttdbserver/1" && $6 == ttdb)
68 awk '{if ($1 == "#cde" && ($2 == "ttdbserver/1" || $2 == "ttdbserver")) {
90 while [ "$dirname" != "$CDE_TOP" ]
93 rmdir ${dirname##STAR/} >/dev/null 2>/dev/null
94 dirname=${dirname%/STAR}
99 #include "CDE-TT.list"
103 VerifyInstalledFiles()
105 echo "Status mode owner group filename"
106 echo "-----------------------------------------"
107 XCOMM exists correct correct correct /usr/dt/foo1
108 XCOMM MISSING WRONG WRONG WRONG /usr/dt/foo2
109 XCOMM exists the link is correct /usr/dt/link
113 #include "../verify.func"
115 #include "CDE-TT.lst"
119 #include "../option.func"
121 XCOMM ######################################################################
125 XCOMM ######################################################################
129 if [ "$OPERATION" = "configure" ]
134 elif [ "$OPERATION" = "deconfigure" ]
143 elif [ "$OPERATION" = "verify" ]