News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

default shell /bin/dash vs /bin/bash

Started by Zaerc, July 11, 2007, 06:38:04 PM

Previous topic - Next topic

Zaerc

I noticed some errors being reported in some bootscripts, but when I looked at the scripts in question, everything seemed fine.

I recall having similar issues, tests giving errors in scripts while they shouldn't, with some of my own shellscripts (on another Kubuntu install).  I ended up making /bin/sh a symlink to bash instead of dash as changing #!/bin/sh to #!/bin/bash in the scripts didn't work for me either.

I have done the same thing on my LMCE's Kubuntu, and things seem to be running a lot smoother.  Has anyone else noticed this? 

The command to change this is:
root@dcerouter:~# ln -sf bash /bin/sh

Substitute bash with dash to restore the default, and watch out for typing errors.
"Change is inevitable. Progress is optional."
-- Anonymous

[url=http://petition.stopsoftwarepatents.eu/181001941347/][/url]