The UNIX and Linux Forums  
Hello and Welcome from to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 10-04-2008
solaix14 solaix14 is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 48
Angry help with a script that will combine two separate scripts for solaris and aix

Hello experts,
I have separate scripts (KSH) each for Solaris and AIX to install core applications (e.g. BigBrother). I also have a script called Installer that gives a menu list to select a particular application to install from a bunch of applications.
Now I am trying to combine separate scripts into a single one so that:

1) when I first run "Installer" script, it will find out whether it is a Solaris or an AIX box
2) run the solaris part of script if it is solaris box and AIX part if it is IBM box from the merged script. (something like jump to AIX script once the installer script finds IBM box or vice versa)


please help me on this