Skip to Content.
Sympa Menu

baslinux - Re: [BL] sh conditionals etc

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: "Sheldon Isaac" <sisaac AT netaxs.com>
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] sh conditionals etc
  • Date: Sat, 22 May 2004 20:32:14 -0400

> First, change /bin/bash to /bin/sh

Done already.

> > #---------------------
> > # /usr/local/bin/nfs
> > # -------------------
> >
> > case $1 in
> > k)
> > umount /hd/fic
> > ;;
> > "")
> > mount -w 192.168.1.1:/ /hd/fic
>
> It probably doesn't make any difference, but I suggest
> you replace "-w" with "-t nfs"

OK, will try.

> > esac
> >
> > if [ `pidof rpciod` > 0 ]
>
> I'm not quite sure what BL3 will do about that line.
> If you continue to have problems, that's where we
> should look.

Have tried a little testing, will do more.

As I recall, it's supposed to check whether a process called rpciod
exist, apparently an indication that the other computer had been mounted.

> > then
> > echo FIC mounted
> > PS1="FICon \w> "
> > else
> > echo FIC not mounted
> > PS1="\w> "
> > fi
> >
> > export PS1
>
> Try the suggested changes and see if that helps. Please
> report back if you continue to have problems.

OK, Steven, thanks much,

Sheldon Isaac







Archive powered by MHonArc 2.6.24.

Top of Page