摘要: 编写开机自动执行的脚本add.sh centos #!/bin/sh #chkconfig: 2345 20 80 IPADDR = \` ifconfig eth0 |awk '$1 ~ /inet/ {print $2}' \` echo $IPADDR > /var/www/html/inde 阅读全文
posted @ 2019-12-13 14:49 mrwuzs 阅读(1504) 评论(0) 推荐(0) 编辑