.profile not being loaded when logging through SSH

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
ironmanlok
DD-WRT User


Joined: 16 Jul 2012
Posts: 59

PostPosted: Tue May 16, 2017 2:32    Post subject: .profile not being loaded when logging through SSH Reply with quote
Recently updated from Kong 30870 to 31980.

I have a startup script that write some aliases to /tmp/root/.profile. It used to work fine until I upgraded to 31980, now my aliases aren't working anymore when I log through SSH.

Any idea if anything related to that changed recently?
Sponsor
ironmanlok
DD-WRT User


Joined: 16 Jul 2012
Posts: 59

PostPosted: Wed May 17, 2017 2:37    Post subject: Reply with quote
anyone?

any other way to get ash profile loaded after connecting through SSH? I tried /etc/profile but /etc is read-only
ironmanlok
DD-WRT User


Joined: 16 Jul 2012
Posts: 59

PostPosted: Thu May 25, 2017 1:19    Post subject: Reply with quote
up? No one?

anyone knows of any other method to load aliases for shell in dd-wrt?
yoyoma2
DD-WRT User


Joined: 24 Sep 2016
Posts: 371

PostPosted: Mon Dec 04, 2017 2:42    Post subject: Reply with quote
I was wondering what was the proper way of loading aliases and customizations into the shell in dd-wrt. Copying a .profile to /tmp/root from somewhere at startup seems like a hack.

BTW with kong build 33675, ssh seems to read ~/.profile just fine.
ironmanlok
DD-WRT User


Joined: 16 Jul 2012
Posts: 59

PostPosted: Tue Dec 05, 2017 2:31    Post subject: Reply with quote
yeah, I noticed it started working again.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum