摘要:
设置开机启动示例: # touch /etc/init.d/rc.local 设置为可执行: # chmod +x /etc/init.d/rc.local 用 update-rc.d 设置启动级别: # update-rc.d rc.local start 99 2 3 4 5 . stop 99 阅读全文
摘要:
cd /home/dpf 1.vi startup.sh #!/bin/shecho "hello world" >> /home/dpf/test.txt vi mqtt.sh #!/bin/sh/home/dpf/Desktop/Udp_Single_Async_Mqtt_yuan/hwjc_u 阅读全文
摘要:
1.vi /home/dpf/mqtt.sh #!/bin/sh/home/dpf/Desktop/Udp_Single_Async_Mqtt_yuan/hwjc_udp_receive_mqtt & 2.系统脚本可以放置在/etc/rc.d/init.d 中并建立/etc/rc.d/rc?.d 链 阅读全文