home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 1484 
 Bill McGarrity to Jeff Smith 
 Re: Bash file issues... 
 24 Jan 17 23:15:00 
 
HIya Jeff..

-=> Jeff Smith wrote to Bill Mcgarrity <=-


 > I have a Raspberry Pi that I'm trying to setup an incoming bash file to
 > toss incoming mail and also to run htick for any tic files.  This is what
 > I have now...

 > #/bin/bash/inmail.sh
 > SBBSCTRL=/home/pi/sbbs/ctrl/sbbs.ini

 JS> [...]

 > export SBBSCTRL=/home/pi/sbbs/ctrl

 JS> [...]

 > Why if I'm telling it where the SBBSCRTL is and I getting the enviorment
 > notset in the bash file?

 JS> First thing I see is a difference in the SBBSCTRL statements used.

Well, all I added was the actual file it was looking for... either way, it
still doesn't work

 JS> Here I use "SBBSCTRL=/home/sbbs/ctrl" But in the home directory of the
 JS> user the BBS will be running as you could edit the file named either
 JS> .profile or .bash_profile depending on if you're running bash or sh and
 JS> add the line:

 JS> SBBSCTRL=/home/sbbs/ctrl && export SBBSCTRL

 JS> In the above statement replace "/home/sbbs/ctrl" with the full path to
 JS> your SBBS ctrl directory.

I've added the above statement to the ../pi/.profile and created a file
../pi/.bash_profile and still no luck.  I also have those statements in the
root /etc/profile.

 JS> And regarding the BASH statement that you are using. Here I simply use
 JS> "#!/bin/bash" as the first line of a bash script.

I changed that...

the script I created is named "inmail.sh".  With that being said I would have
thought the ../pi/.profile would have worked but I added both none the less. 
My concern is when I run ./sbbsecho at a command prompt
"pi@raspberry:~/sbbs/exec" it works fine... yet, when I try and start the bbs
with "./sbbs", it won't start unless I put the path and sbbs.ini filename also.
Some see the ctrl directory, some don't. :(



This almost has me bald... lol!!
 JS> Jeff

 JS> --- BBBS/Li6 v4.10 Toy-3
 JS>  * Origin: The OuijaBoard - Anoka, MN  (1:282/1031)

--

Bill

Telnet: tequilamockingbirdonline.net
Web: bbs.tequilamockingbirdonline.net:81
FTP: ftp.tequilamockingbirdonline.net:2121
IRC: irc.tequilamockingbirdonline.net Ports: 6661-6670 SSL: +6697
Radio: radio.tequilamockingbirdonline.net:8010/live


... Look Twice... Save a Life!!! Motorcycles are Everywhere!!!
--- MultiMail/Win32 v0.50
 * Origin: TequilaMockingbird Online - Toms River, NJ (1:266/404)

<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca