Power & Source of Big Ideas

Yes, thank you Dave! The problem is solved! Thanks so much for your your effort and time! Have a great weekend!
Dave, when both command lines in /etc/rc.local were changed to the following, then it displayed "rc.local runs 2" after rebooted.

echo "rc.local runs 1" >&2
echo "rc.local runs 2" >/dev/ttyS0
Thank you Dave! Here is the result after I ran each rc.local individually. Please note that tty1 does not display anything for my system. I have changed it to ttyS0 instead, the following result is based on ttyS0 which I changed. When I reboot the system, it showed one "rc.local runs" mess...
I have added in both rc.local files, and it did NOT display when I reboot the system either. Here is the file contents in /etc/rc.local file which I added the 2 lines you suggested. root@NanoPi-NEO:/etc# cat rc.local #!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser ...
OK, I won't change this file. Then let's head back to the /etc/rc.local file, my original problem is that it won't be executed while booting up the system. Do you have any comments? Thanks.
Thanks all you guys' the help! I tried to look into the other rc.local file in /etc/init.d directory instead of the file in /etc. I tried to execute it by typing ./rc.local command, then I got an "Usage: ./rc.local start", then I type ./rc.local start, I got a Warning message, please see t...
When I type the following commands in terminal, it works. When I reboot the system, however, I did not see the same result as I typed manually.

cd /etc
./rc.local
Thank you Dave! Yes, It can be executed alone if I type it manually in command line. For your question about /etc/init.d, yes, I have checked it and find a rc.local file as well. I copied its contents and pasted as follows: #! /bin/sh ### BEGIN INIT INFO # Provides: rc.local # Required-Start: $all #...
Dear Sirs, I have a nanoPi NEO running with image: nanopi-neo_ubuntu-core-xenial_3.4.39_20170819.img.zip, however, I cannot get the /etc/rc.local executed. I have tried many suggestions from the Internet, but none of them works. The rc.local works when I type it manually in the terminal, but not exe...