现象:
原因:
兼容性问题,因为linux将sh默认指向了dash,而不是bash
解决:
#在root下面执行 dpkg-reconfigure dash,选择no
[email protected]:/home/adt/Downloads/wy# dpkg-reconfigure dash
然后重新执行.sh 脚本就可以了
[email protected]:/home/adt/Downloads/wy# dpkg-reconfigure dash
现象:
原因:
兼容性问题,因为linux将sh默认指向了dash,而不是bash
解决:
#在root下面执行 dpkg-reconfigure dash,选择no
[email protected]:/home/adt/Downloads/wy# dpkg-reconfigure dash
然后重新执行.sh 脚本就可以了
[email protected]:/home/adt/Downloads/wy# dpkg-reconfigure dash
相关文章: