在/etc/rc.local里面添加一句就可以了,直接把bin文件的路径加入就可以了,例如:
# Put your custom commands here that should be executed once
# the system init finished. By default this file does nothing.
. /usr/tcptest
exit 0
在/etc/rc.local里面添加一句就可以了,直接把bin文件的路径加入就可以了,例如:
# Put your custom commands here that should be executed once
# the system init finished. By default this file does nothing.
. /usr/tcptest
exit 0