I am trying to copy a file from the boot directory for a rasbian image. I would like add this file once to the sd card and not have to run raspbian to manually add this file (preferable, write a script for raspbian to copy on startup).
I have a custom configuration file that I would like to copy over during startup, preferably into /home/pi. I put the sd card into my computer and dropped the file into the boot directory.
The issue is that the file isnt visible in /boot when I boot up the pi and ssh into it. I am putting a file named custom-configuration.txt into the /boot directory (next to wpa_supplicant and ssh files).
What am I doing wrong? Is there a better way to do this? I know I can put the file in there manually but I would like to not have to ssh in to do so, would like to just drop it onto the sd card after writing the image with etcher on osx as I have to do this many time and the configuration file will be different for each.