贴代码
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-05-31 15:45:42 +08:00 via Android 1
|
3
dengshuang OP @laxenade 谢谢了
|