ubuntu14.04 添加开机启动脚本
在 /etc/rc.local 下添加要启动的脚本 在exit 0 之前就可以了。如下代码:
#!/bin/sh -e## rc.local## This script is executed at the end of each multiuser runlevel.# Make sure that the script will "exit 0" on success or any other# value on error.## In order to enable or disable this script just change the execution# bits.## By default this script does nothing.sh /home/ice/test.shexit 0

浙公网安备 33010602011771号