View Single Post
Old 06-28-2015, 01:56 AM   #8
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
knc1 -- I don't see why it should be problematic to want to avoid extra typing. Does the average linux distro expect users to manually source their .profile/bashrc/etc? No, so why should it be any different on the Kindle...
If it cannot be done, then that is a shame and perhaps it will need to be done manually... but it isn't at all unreasonable to check!
Or are you saying you manually source setup scripts every single time you open a shell on your computer, out of some atavistic desire to prove your CLI powers?


@tamr -- I don't think there is really any good way to do that on the Kindle, but you could build it into your ssh connection, e.g. :

Code:
ssh -t root@kindle 'source /mnt/us/my_startup_script.sh; sh -i'
Or ideally mechanize it in your ~/.ssh/config


Because scripting was designed to ease repetitive busywork.

Last edited by eschwartz; 06-28-2015 at 02:00 AM.
eschwartz is offline   Reply With Quote