export HOME=/opt/root
in /opt/etc/profile
yes, thanks a lot!! make a lot more sense to put it there, and source /opt/etc/profile from /jffs/configs/profile.addThat should work. Alternatively you could just putexport HOME=/opt/root
in/opt/etc/profile
No need.and source /opt/etc/profile from /jffs/configs/profile.add
/opt/etc/profile
is already sourced from /etc/profile
.make sure that IF external ssd is mounted then the admin (uid==0) home is /opt/rootWhat are you trying to achieve? This seems unnecessarily complicated.
Then the solution in post #2 should be all you need. Unless you've got a non-standard configuration the only interactive login account is the admin (UID=0) user. There aren't any other interactive login accounts so you don't need to cater for other UIDs.make sure that IF external ssd is mounted then the admin (uid==0) home is /opt/root
it is a standard configuration. thanks a lot for taking from your time to answer and follow this thread!Then the solution in post #2 should be all you need. Unless you've got a non-standard configuration the only interactive login account is the admin (UID=0) user. There aren't any other interactive login accounts so you don't need to cater for other UIDs.
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!