贴代码
release="centos"
boot_start(){ if [[ x"${release}" == x"debian" || x"${release}" == x"ubuntu" ]]; then update-rc.d -f ${1} defaults elif [[ x"${release}" == x"centos" ]]; then chkconfig --add ${1} chkconfig ${1} on fi }
1
dengshuang OP boot_start(){
if [[ x"${release}" == x"debian" || x"${release}" == x"ubuntu" ]]; then update-rc.d -f ${1} defaults elif [[ x"${release}" == x"centos" ]]; then chkconfig --add ${1} chkconfig ${1} on fi } |
2
laxenade 2018 年 5 月 31 日 via Android |
3
dengshuang OP @laxenade 谢谢了
|