I'm working on a Raspberry Pi with Raspbian (Debian-based) OS. For testing I added such a command in /etc/rc.local:
python /home/pi/test.py
It works fine starting this script. But the problem is that I forgot that there is an infinite loop in the script, something like:
while True:
print 'Hello"
time.sleep(5)
This loop blocks the system to boot, so I can't enter the system to edit the script. Ctrl+C doesn't work to kill it. So I wonder how to kill a continuous process started from rc.local?