Re: Re: Raspberry PI synchron
By: John H. Guillory to Denn on Thu Feb 15 2018 20:17:00
De>> It's trying to load the console but the wiki dose'nt show how to set
De>> the varible that I can see, I might have somehow missed it :)
JH> export SBBSCTRL="/sbbs/ctrl/"
JH> at the ~ prompt....
is your sbbs/ctrl directory ACTUALLY /sbbs/ctrl?
or do you have sbbs in a home dir like I do? if so you need to set a symlink
from /sbbs/ to ~/sbbs/
And though i've done this. anyway I look at it, when I try to load envorinment
varaibles, even in a very simple script, EXCEPT for scfg, the SBBSCTRL
environment will not set.
not will it work in .profile .bash-profile .bashrc
simple script
#!/bin/sh and tried bash
SBBSCTRL=/sbbs/ctrl && export SBBSCTRL && sudo /sbbs/exec/sbbs [triggers, etc]
exit
I've tried this directly from a CLI and it still states SBBSCTRL environment
not set. SCFG does'nt give the issues after being loaded stating it cannot find
the ctrl dir when loading directly like this or from a script.
in my ~/.bashrc ~/.bash-profile and ~/profile I have:
SBBSCTRL=/sbbs/ctrl && export SBBSCTRL
it is also setup in /etc/prfile btw.
and I no longer have any issues with LD_LIBRARY_PATH being called for.
strange indeed.
--
Tim Smith (KK4QBN)
KK4QBN BBS
---
* Synchronet * KK4QBN BBS - kk4qbn.com - kk4qbn.synchro.net - Chatsworth GA
USA
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
|