Re: Re: Raspberry PI synchron
By: Digital Man to KK4QBN on Fri Feb 16 2018 23:09:34
>> kk4qbn@kk4qbn:~$
>> it is not working.
>> here is the last few lines of /etc/profile
>> done
>> unset i
>> fi
>> export SBBSCTRL=/sbbs/ctrl/
DM> And you rebooted while it was that way?
Yes, of course :)
DM> "HELLO" was the name of the environment variable. "Hi!" was the content.
DM> No where did I suggest you should have "got Hello".
Note the following statement
> DM>> $ echo $HELLO
> DM>> $ env <- shows all environment variables, you'll see HELLO there
> DM>> too
^^^ Ummm little stuff like that is what throws me for loops at times
> kk4qbn@kk4qbn:~$ unset HELLO
>> kk4qbn@kk4qbn:~$ source hi.sh
>> bash: export: `HELLO-Hi!': not a valid identifier
DM> You did something wrong. :-)
but what? the hi.sh is EXACTLY what you typed and I followed step by step.
DM> No. The reported error ("bash: export: `HELLO-Hi!': not a valid
DM> identifier") suggests to me you have a typo.
well something is scrwed.. I would'nt think attempting to export Sooo many
times in so many different ways I would get that typo EVERY sing time, and with
EVERYTHING else it works, but sbbs still reports that SBBSCTRL environment not
set.
I'm sure it's possible that I have something screwed up somewhere. but I'm just
not seeing it..
DM> If it's not causing a problem, I suppose you can just shrug it off and
DM> continue on, but I assure you: you can set environment variables a
DM> multitude of ways on Debian and Ubuntu Linux and you've shown that at
DM> least *some* of those ways are working as they should and the others that
DM> aren't working for you are likely due to user error.
I'm not going to shrugh it off.. I'm just not going to get too obsessed about
it because it does'nt seem to be giving any issues, as a matter of fact after
the last build the system is running even better (was getting TLS issues) but
I'll find what is screwed up, I'm sure it's user error. but I just cant see
where.
DM> Here's a FAQ on it:
DM> https://unix.stackexchange.com/questions/117467/how-to-permanently-set-env
DM> ironm ental-variables#117470
Thankss again, I have read a few docs on it.. it should'nt be giving this much
complications.
--
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)
|