home bbs files messages ]

Just a sample of the Echomail archive

Cooperative anarchy at its finest, still active today. Darkrealms is the Zone 1 Hub.

   FMAIL_HELP      Fmail support      2,396 messages   

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

   Message 1,485 of 2,396   
   Bill McGarrity to Accession   
   Re: Bash file issues...   
   25 Jan 17 16:58:00   
   
   Hiya Nick...   
      
   -=> Accession wrote to Bill McGarrity <=-   
      
    Ac> Hello Bill,   
      
    Ac> On Tue Jan 24 2017 15:31:06, Bill McGarrity wrote to All:   
      
    BM> Background....   
      
    BM> I have a Raspberry Pi that I'm trying to setup an incoming bash file   
    BM> to toss incoming mail and also to run htick for any tic files.  This   
    BM> is what I have now...   
      
    BM> #/bin/bash/inmail.sh   
      
    BM> SBBSCTRL=/home/pi/sbbs/ctrl/sbbs.ini   
      
    Ac> Try 'export SBBSCTRL=/home/pi/sbbs/ctrl' and you'll have better   
    Ac> results.   
      
      
   I've tried everything... still nothing.  I've tried all the suggestions and   
   still get enviorment variable not set.   
      
      
    BM> cd /home/pi/sbbs/exec   
      
    BM> echo ***** Process inbound mail   
      
    BM> sudo ./sbbsecho -LESRFD! > /home/pi/sbbs/events/inerror.log   
      
   I even removed everything at the end so it doesn't post to a log and nadda...   
   but it did come up on the screen...    
      
    BM> cd /home/pi/husky/htick   
      
    BM> sudo ./htick -c htick.cfg scan   
      
    Ac> [ CUT BELOW HERE ]   
      
    BM> #if exists [ /home/pi/sbbs/secure/*.tic ]   
      
    BM> cd /home/pi/husky/htick   
      
    BM> sudo ./htick -c htick.cfg toss   
      
    Ac> [ INSTEAD ]   
      
    Ac> You may want to use an if/then/else statement here, like so:   
      
    Ac> if [ -f /home/pi/sbbs/secure/*.tic ]; then   
    Ac>   sudo ./htick -c htick.cfg toss   
    Ac> else   
      
      
   Done.... works perfectly... thank you..   
      
      
    BM> Why if I'm telling it where the SBBSCRTL is and I getting the   
    BM> enviorment not set in the bash file?   
      
    Ac> Because in your script you set the SBBSCTRL environment variable to   
    Ac> sbbs.ini, and not the CTRL directory where it should be.   
      
   I changed that as I said.  Nadda... :/   
      
   Please read my reply to John...   
      
      
      
      
   --   
      
   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