LinuxMCE Forums
June 19, 2013, 05:03:29 am GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
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
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: default shell /bin/dash vs /bin/bash  (Read 1714 times)
Zaerc
Alumni
LinuxMCE God
*
Posts: 2256


Department of Redundancy Department.


View Profile
« on: July 11, 2007, 05: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.
Logged

"Change is inevitable. Progress is optional."
-- Anonymous

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!