Thread: bash for kindle
View Single Post
Old 04-24-2012, 02:31 PM   #17
hawhill
Wizard
hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.
 
hawhill's Avatar
 
Posts: 1,178
Karma: 2116649
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
And by all means, restore the original /bin/bash symlink. The /mnt/us is not necessarily up and running from reboot on (but the root file system should be), so you have a symlink pointing to nowhere at boot, breaking all system scripts that use /bin/bash.

If I am not mistaken, the easiest approach is to use "#!/usr/bin/env bash" and set an appropriate PATH. That will leave scripts compatible on many platforms.
hawhill is offline   Reply With Quote