Ubuntu开机不执行re.local里的命令
#ls -al /bin/sh
lrwxrwxrwx 1 root root 4 2009-12-11 06:04 /bin/sh -> dash
是的看出,Ubuntu默认的把sh连接到dash,导致不运行rc.local这个shell
解决:
1.执行dpkg-reconfigure dash 选择no
2.软连接
rm /bin/sh
ln -s /bin/bash /bin/sh
更多Ubuntu相关信息见Ubuntu 专题页面 http://www.68idc.cn/topicnews.aspx?tid=2
你的脸是为了呈现上帝赐给人类最贵重的礼物–微笑,