我想要实现开机之后自动启动一个jenkins的slave登入程序
在rc.local中间加入了代码
但是开机之后并未运行
该命令涉及到网络了
下面是我的 rc.local
我直接运行这个命令或者是sh rc.local是成功的
#!/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.
#start jenkins
javaws http://192.168.1.24:8080/computer/slave ... agent.jnlp
exit 0
[求助]rc.local添加脚本未执行
-
- 帖子: 2
- 注册时间: 2011-06-27 23:06
-
- 帖子: 2
- 注册时间: 2011-06-27 23:06
Re: [求助]rc.local添加脚本未执行
当然不是 - -路由上的阿。。。