I have had this issue for many years, google it, could not find the solution, left it for a bit, google it....
But I do want to get to the bottom of this issue now. I have added some things to my /config/go script to load config files for midnight commander and a few other settings. I understand I cannot copy to the array at hat point, but in this case I only copy from my flash drive to the OS file system. I am convinced this is used to work many years ago. Here is the script:
#!/bin/bash
# Start the Management Utility
#MC panels config
cp /boot/JFDpersist/ini /root/.config/mc/ini
cp /boot/JFDpersist/panels.ini /root/.config/mc/panels.ini
cp /boot/JFDpersist/mcc /usr/local/sbin
# SSH Keys
mkdir ~/.ssh
cp /boot/JFDpersist/authorized_keys ~/.ssh
chmod 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys
/usr/local/sbin/emhttp &
None of my commands execute in this script. Is there a new better ways to get things copied around at boot? If not, what am I doing wrong?
Thanks!