开机启动的命令

vim  /etc/rc.local


#!/bin/sh

#

# This script will be executed *after* all the other init scripts.

# You can put your own initialization stuff in here if you don't

# want to do the full Sys V style init stuff.


touch /var/lock/subsys/local


/usr/bin/rsync --daemon(这个是要开机启动命令)

                        


你可能感兴趣的:(开机启动的命令)