IBM SC34-4499-03 Uživatelský manuál Strana 243

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 356
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 242
else
print -u3 /.profile already updated
fi
# Set up error logging
# - if *.warning is in file (preceeded by spaces and tabs only
grep "|[]*\*.warning" /etc/syslog.conf
if (($? != 0))
then
print -u3 'Updating /etc/syslog.conf'
touch /var/spool/syslog
chmod 666 /var/spool/syslog
exec 4>> /etc/syslog.conf
print -u4 '*.warning /var/spool/syslog'
stopsrc -s syslog
startsrc -s syslog
else
print -u3 /etc/syslog.conf already updated
fi
# Update services file for tcocto family
grep "tcocto" /etc/services
if (($? != 0))
then
print -u3 Updating /etc/services
exec 4>> /etc/services
print -u4 'tcocto 8888/tcp'
else
print -u3 /etc/services already updated
fi
# Generate response file
###
### You can change to use enviroment variables!!
###
print -u5 '1'
print -u5 '5'
print -u5 '/usr/local/teamc/images'
print -u5 '/usr/local/teamc'
print -u5 '/usr/local/teamc/nls'
print -u5 'en_US'
print -u5 '/usr/local/teamc/X11'
print -u5 ''
print -u5 'i'
# Run provided TeamC install script
ls -laR ${IMAGE_DIR} >> ${INST_TMP} 2>&1
cd ${IMAGE_DIR}
${IMAGE_DIR}/tcinst.ksh < ${IMAGE_DIR}/tcinstl.response
if (($? != 0))
then
# Failed installation
print -u3 TeamC installation failed
exit 1
Chapter 18. Using the Tivoli Software Distribution packaging tool 223
Zobrazit stránku 242
1 2 ... 238 239 240 241 242 243 244 245 246 247 248 ... 355 356

Komentáře k této Příručce

Žádné komentáře