Hello people.
I have a program in Python and I want to run automatically when you start the Raspberry Pi. I found an online code to do that, but I throw error, the error that throws me is the following:
insserv: warning: script 'K01Color' missing LSB tags and overrides
insserv: warning: script 'Color' missing LSB tags and overrides
The code I'm using is as follows:
#! / bin / sh
# /etc/init.d/Color
case "$ 1" in
start)
echo "Starting"
/ usr / bin / python /home/pi/Arduino.py
;;
stop)
echo "Stopping program"
;;
*)
echo "Usage: /etc/init.d/Color {start | stop}"
exit 1
;;
that C
exit 0
-------------------------END CODE--------------------------------------
¿Does anyone know how to fix this error?