LinuxMCE Forums

General => Developers => Topic started by: Zaerc on July 11, 2007, 06:38:04 pm

Title: default shell /bin/dash vs /bin/bash
Post by: Zaerc on July 11, 2007, 06:38:04 pm
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.