Automatic Switch to Bash Shell at Login - How?

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> General Questions
Author Message
JosephAE
DD-WRT Novice


Joined: 12 Jan 2015
Posts: 33

PostPosted: Thu Nov 22, 2018 15:22    Post subject: Automatic Switch to Bash Shell at Login - How? Reply with quote
Could someone please point me to a post on how to switch shell to bash at ssh login using either /jffs or /opt.

Thank you for your help. Confused
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 4345
Location: Netherlands

PostPosted: Thu Nov 22, 2018 15:47    Post subject: Reply with quote
https://www.snbforums.com/threads/bash-history.16694/#post-1150

https://www.snbforums.com/threads/solved-change-default-shell-from-sh-to-bash-378-56_2.28033/

_________________
Routers:Netgear R7800, Netgear R6400v1, Netgear R6400v2, Linksys EA6900 (XvortexCFE), Linksys E2000 (converted WRT320N), WRT54GS v1.
Install guide Linksys EA6900: http://www.dd-wrt.com/phpBB2/viewtopic.php?t=291230
OpenVPN Policy Based Routing guide: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=321686
Install guide R6400v2:http://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
OpenVPN Server Setup:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=318795
Install guide R7800: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Wireguard Setup guide:https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=1183135
JosephAE
DD-WRT Novice


Joined: 12 Jan 2015
Posts: 33

PostPosted: Thu Nov 22, 2018 18:01    Post subject: Reply with quote
egc,

Thanks for pointing me to the posts.

I have a USB flash drive mounted to my router with /jffs and /opt mounted at startup.

Should I use the /opt location instead of /tmp?

If so what are the sub-directories to use with /opt?

Thanks.


Last edited by JosephAE on Fri Nov 23, 2018 15:42; edited 1 time in total
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 4345
Location: Netherlands

PostPosted: Fri Nov 23, 2018 10:43    Post subject: Reply with quote
I suppose you can use /opt (I never tried this I use busybox (=ash))
_________________
Routers:Netgear R7800, Netgear R6400v1, Netgear R6400v2, Linksys EA6900 (XvortexCFE), Linksys E2000 (converted WRT320N), WRT54GS v1.
Install guide Linksys EA6900: http://www.dd-wrt.com/phpBB2/viewtopic.php?t=291230
OpenVPN Policy Based Routing guide: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=321686
Install guide R6400v2:http://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
OpenVPN Server Setup:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=318795
Install guide R7800: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Wireguard Setup guide:https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=1183135
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> General Questions 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