Samba 3.0.22 Porting by Vidya Sagar

32
fi
else
echo Download all the files "file[1-9].bin" or all.bin and try
again
exit 0
fi
fi
exit_on_error
echo Installing...Please wait...
echo Installing...Please wait...
compress -d GNU.Z
exit_on_error
frombyte -b GNU GNU1
exit_on_error
callci 'file GNU1=/tmp/GNU1;dev=disc'
callci 'restore *GNU1;/;tree;create;show'
exit_on_error
if [ -f /usr/local/INSTALL.hp3000 ]; then
/usr/local/INSTALL.hp3000
exit_on_error
echo "***********Installation complete "":)*************"
else
echo /usr/local/INSTALL.hp3000 does not exist
exit_on_error
fi
D. Script to install POSIX wrappers (INSTALL.px_wrappers)
#!/bin/sh
###############################################################
# File: INSTALL.px_wrappers
# Author: Vidya Sagar (vidya.sagar2@hp.com)
# Purpose: To install the POSIX wrapper into /POSIXC60 directory
# Assumption: The file px_wrappers.tar.tar or px_wrappers_run.tar.tar has been
downloaded
# from JAZZ and resides in/tmp
###############################################################
# Rename the downloaded file to posixc60.tar.Z
cd /tmp
if [ -f px_wrappers.tar.tar ]; then
mv px_wrappers.tar.tar posixc60.tar.Z
elif [ ! -f posixc60.tar.Z ]; then
echo Download posix wrapper package and try again
exit 1
fi
#Create account to put POSIX wrappers:
#We have already logged on as system manager and into the POSIX shell
callci newacct POSIXC60,MGR
cd /POSIXC60
tar -xvozf /tmp/posixc60.tar.Z PUB/INSTALL
callci install.pub.POSIXC60
tar -xvozf /tmp/posixc60.tar.Z
#Hope everything went fine
if [ $? != 0 ]; then
echo Error: try again
else
echo Done ":)"