【原創】ubuntu 添加開啓啓動項

【原創】ubuntu 添加開啓啓動項

Author: chad
Mail: [email protected]

ubuntu 添加開啓啓動項,修改/etc/rc.local,如下:

#
# 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.

/home/yr/motion4meter/build/bin/motion -c /home/yr/motion4meter/build/bin/motion-dist.conf &
/home/yr/chaobiao/meter /home/yr/chaobiao/config.ini &

exit 0
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章