I went with your second solution, but with slightly different packaging by fixing up my bash.lrp so it didn't create the link to /bin/sh. I didn't like the idea of using bash if the rest of the system had been tested with ash:
http://www.jimmoy.com/archives/000010.html Jim Robert Williams wrote: > Hi all, > Just a follow-up note to let you know how I solved (with your help) the > problem. The simplest solution was to just change #!/bin/sh to > #!/bin/ash. However in terms of a permanent fix If the maintainer of the > package did this it would break it for every body that does not have a > /bin/ash. Not so good > > My second solution was to reset the original /bin/sh -> /bin/ash and > then set my default shell in /etc/passwd to /bin/bash. In terms of a > permanent fix I believe this is the best as it is just about what you > would expect in a full linux distro. The maintainer of the package would > just have to the /bin/sh -> /bin/ash file and let every one know that > they should update their /etc/passwd or type bash from the command line. > > As a temporary fix (a bit harder than the permanent one would be) this > is what I did. > 1) Create a file /var/lib/lrpkg/bash.local which contains: > I bin/sh > I var/lib/lrpkg/bash.* > 2) Upodate /etc/passwd to : > root:x:0:0:root:/root:/bin/bash > 3) ln -s /bin/ash /bin/sh > 4) Backup etc and bash using partial to fd0. > > Hope this is informative, > Robert _______________________________________________ Leaf-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user