【原創】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