Andreas Klemm on Wed, 28 Mar 2001 08:01:17 +0200 (CEST)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Solaris 2.6


On Tue, Mar 27, 2001 at 01:25:29PM -0800, Noonan, Sean P. wrote:
> Thanks,
> 
> That did it.  But I thought the first line of the SETUP shell script:
> 
> #! /bin/sh
> 
> was suppose to tell the script to use /bin/sh ?  Obviously not!

On most systems /bin/sh is POSIX conform.
And yes, this line ensures, that if you roots login shell is a csh
or something different, that /bin/sh is executed.
All Linuxes have bash as /bin/sh, *BSD uses ash, which is POSIX
aware, but Solaris has its *stock* Bourne Shell, with the old capabilities.
On that systems you have to replace the first line to

#! /some/path/bash

or simply call the script with

	bash SETUP

	Andreas ///

-- 
Andreas Klemm
Apsfilter Homepage                  http://www.apsfilter.org
Support over mailing-lists (only!)  http://www.apsfilter.org/support
Mailing-list archive                http://www.apsfilter.org/Lists-Archives

PGP signature