baslinux AT lists.ibiblio.org
Subject: Baslinux mailing list
List archive
- From: 3aoo-cvfd AT dea.spamcon.org
- To: baslinux AT lists.ibiblio.org
- Subject: Re: [BL] sh conditionals etc
- Date: Sun, 23 May 2004 12:12:06 +1200
Sheldon Isaac wrote:
>
> Please help with this script,
>
> it doesn't work right under BL3.21,
> #!/bin/bash
First, change /bin/bash to /bin/sh
> #---------------------
> # /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"
> 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.
> then
> echo FIC mounted
> PS1="FICon \w> "
> else
> echo FIC not mounted
> PS1="\w> "
> fi
>
> export PS1
>
> # ------end of script --------
Try the suggested changes and see if that helps. Please
report back if you continue to have problems.
Cheers,
Steven
-
Re: [BL] test: is the list down??
, (continued)
- Re: [BL] test: is the list down??, James Miller, 05/21/2004
-
Re: [BL] test: is the list down??,
Sindi Keesan, 05/21/2004
-
[BL] Yes, I do have some problems with bl,
Jeff M., 05/21/2004
-
Re: [BL] Yes, I do have some problems with bl,
russ loroville, 05/21/2004
- Re: [BL] Yes, I do have some problems with bl, russ loroville, 05/21/2004
-
Re: [BL] Yes, I do have some problems with bl,
3aoo-cvfd, 05/21/2004
-
Re: [BL] Yes, I do have some problems with bl,
Jeff M., 05/22/2004
-
Re: [BL] Yes, I do have some problems with bl,
Sindi Keesan, 05/22/2004
-
Re: [BL] Yes, I do have some problems with bl,
3aoo-cvfd, 05/22/2004
- [BL] sh conditionals etc, Sheldon Isaac, 05/22/2004
- Re: [BL] sh conditionals etc, 3aoo-cvfd, 05/22/2004
- Re: [BL] sh conditionals etc, Sheldon Isaac, 05/22/2004
- Re: [BL] sh conditionals etc, 3aoo-cvfd, 05/22/2004
- Re: [BL] sh conditionals etc, Sheldon Isaac, 05/23/2004
- Re: [BL] sh conditionals etc, 3aoo-cvfd, 05/23/2004
- Re: [BL] sh conditionals etc, Sheldon Isaac, 05/24/2004
-
Re: [BL] Yes, I do have some problems with bl,
3aoo-cvfd, 05/22/2004
-
Re: [BL] Yes, I do have some problems with bl,
Sindi Keesan, 05/22/2004
-
Re: [BL] Yes, I do have some problems with bl,
Jeff M., 05/22/2004
-
Re: [BL] Yes, I do have some problems with bl,
russ loroville, 05/21/2004
-
[BL] Yes, I do have some problems with bl,
Jeff M., 05/21/2004
-
Re: [BL] Yes, I do have some problems with bl,
Jeff M., 05/23/2004
- Re: [BL] Yes, I do have some problems with bl, Sindi Keesan, 05/23/2004
- Re: [BL] Yes, I do have some problems with bl, James Miller, 05/23/2004
- Re: [BL] Yes, I do have some problems with bl, Sindi Keesan, 05/23/2004
- Re: [BL] Yes, I do have some problems with bl, James Miller, 05/23/2004
Archive powered by MHonArc 2.6.24.