home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1999 March B
/
SCO_CASTOR4RRT.iso
/
nuc
/
install
/
postremove
< prev
next >
Wrap
Text File
|
1998-08-19
|
2KB
|
62 lines
#ident "@(#)postremove 1.6"
#!/bin/sh
PKGMSG=uvlnuc
ADMINUSER="/usr/bin/adminuser"
GREP="/usr/bin/grep"
LOCALE=${LC_ALL:-${LC_MESSAGES:-${LANG:-"C"}}}
if [ ! -f /usr/lib/locale/${LOCALE}/LC_MESSAGES/${PKGMSG} ]; then
if [ -f ${REQDIR}/inst/locale/${LOCALE}/${PKGMSG} -a \
-d /usr/lib/locale/${LOCALE}/LC_MESSAGES ]; then
cp ${REQDIR}/inst/locale/${LOCALE}/${PKGMSG} \
/usr/lib/locale/${LOCALE}/LC_MESSAGES
fi
fi
# modify netconfig to remove the nuc name resolver
sed -e 's/\/usr\/lib\/novell.so/\/usr\/lib\/novell_nwnet.so/' /etc/netconfig >/tmp/nucnetconfig
cp /tmp/nucnetconfig /etc/netconfig
cd /etc/conf
for i in nuc nucfs nucam NWam climux
do
/etc/conf/bin/idinstall -d $i
done
pfmt -s nostd -g ${PKGMSG}:366 "Reconfiguring the kernel to remove NUC...\n"
/etc/conf/bin/idbuild
#Remove the Single Login indicator
rm -f /etc/.slogin
#remove nucfs from /etc/dfs/fstypes
#/usr/bin/egrep -v '^nucfs' /etc/dfs/fstypes > /etc/dfs/tmpfstypes && cp /etc/dfs/tmpfstypes /etc/dfs/fstypes
############## REMOVE PROVO-USG ICONS FROM THE HELP DESK #######
# Remove the smfcnfg.so from setup/filetypes/config
/bin/ed /usr/lib/setup/filetypes/config > /dev/null 2>&1 <<EOT
g/smfcnfg.so/d
w
q
EOT
if [ -x /usr/lib/mail/surrcmd/createSurr ]
then
/usr/lib/mail/surrcmd/createSurr
fi
#
# SCOADMIN
#
/usr/bin/scoadmin -p NetWare -d /usr/lib/scoadmin/NetWare/NetWare_Settings.obj
#/usr/bin/scoadmin -p NetWare -d /usr/lib/scoadmin/NetWare/App_Sharing.obj
#/usr/bin/scoadmin -p NetWare -d /usr/lib/scoadmin/NetWare/Launch_Application.obj
#/usr/bin/scoadmin -p NetWare -d /usr/lib/scoadmin/NetWare/Remote_Apps.obj
exit 10