= Сообщение: 2951 из 7127 ====================================== FTSC_PUBLIC = От : Bill McGarrity 1:266/404 26 Jan 17 13:29:00 Кому : Accession 26 Jan 17 13:29:00 Тема : Re: Bash file issues... FGHI : area://FTSC_PUBLIC?msgid=6372.2ftscpubl@1:266/404+1cef92be На : area://FTSC_PUBLIC?msgid=723:1/1+588a04ee = Кодировка сообщения определена как: ASCII ================================== ============================================================================== Hiya Nick...
-=> Accession wrote to Bill McGarrity <=-
Ac> On Wed Jan 25 2017 16:54:00, Bill McGarrity wrote to John Guillory:
BM> -> SBBSCTRL=/home/pi/sbbs/ctrl/sbbs.ini
BM> This I orginally put in the script itself. I have since removed the BM> sbbs.ini and it's still doing the same thing.
Ac> And with or without sbbs.ini, the command is wrong without "export" at Ac> the beginning, just like you seemed to have put into your /etc/profile Ac> below..
BM> As stated above, I made the change in the script. I also rechecked BM> the /etc/profile in root, the /home/pi/.profile and the BM> /home/pi/.bash_profile and added the lines you stated... still getting BM> SBBSCtrl enviorment variable not set. :(
Ac> Maybe not enough changes in your script?
The issue was with "sudo".... I removed it and poof!!
Ac> Adding it to .profile and .bash_profile is unnecessary. /etc/profile is Ac> system-wide, and anything starting with a period in your home directory Ac> is for that user only, and not system-wide.
Yes, it is added in the /etc/profile as you originally told me. That's why I was confused it wouldn't find it but as I said to echicken, removing sudo did the trick!!