Re: Re: Raspberry PI synchron
By: Digital Man to KK4QBN on Sat Feb 17 2018 14:31:17
DM> How about paste the md5 sum of hi.sh here?
DM> It should look this this:
DM> root@cvs:~# cat hi.sh
DM> export HELLO=Hi!
DM> echo $HELLO
DM> root@cvs:~# md5sum hi.sh
DM> f7201385bdb7c523dade158d270014cc hi.sh
DM> root@cvs:~# source hi.sh
DM> Hi!
kk4qbn@kk4qbn:~$ cat hi.sh
export HELLO=Hi!
kk4qbn@kk4qbn:~$ md5sum hi.sh
7771bfae728b34ec658674c6cbe2281f hi.sh
kk4qbn@kk4qbn:~$ source hi.sh
kk4qbn@kk4qbn:~$
See.. somethink is BORKED!
> DM>> No. The reported error ("bash: export: `HELLO-Hi!': not a valid
> DM>> identifier") suggests to me you have a typo.
Yes, I found THAT type oin hi.sh before running the above I accidently had a
hyphen instead of =. but fixed that. and there are no typos in my scripts.. I
even put SBSCTRL and LD_LIBRARY_PATH in /etc/environment. sbbs still states
!SBBSCTRL ENVIRONMENT NOT FOUND.
SO far I've tried it 2 -3 different ways in ~.profile ~.bash-profile ~.bashrc
/etc/profile /etc/environment. still no go.. BUT as long as I run SCFG from a
script I don't get the window at the beginning stating it could'nt fin
/sbbs/ctrl. I start sbbs from a script and it still gives the SBBSCTRL error,
but I don't seem to be having any trouble.
DM> Don't use sbbs to test your methods of setting environment variables. Use
DM> "echo" or "env" instead. Once "echo" and "env" show the environment
DM> variable(s) that you have set are indeed there, then run 'sbbs'.
well 'env' states that SBBSCTRL is indeed set still issues, and
/etc/environment is not doing what I thought it would. its scrweing with the
programs. try to run scfg and you get !ERROR 2 changing curent directory to
/sbbs/ctrl.. guess I'll trash that and reboot and keep trying.
DM> And if the SBBSCTRL environment variable shows up in 'env' output (or its
DM> value can be echoed via $SBBSCTRL) and sbbs still reports that error, then
DM> revisit your methods of starting sbbs - if it's a shell script, revisit
DM> the contents of that that shell script.
I will do that again.. but if I was'nt hving issues with SCFG and gtkmonitor
and jsexec I would think it was just that.
--
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)
|