Skip to content

Commit

Permalink
Fix file copy from SD card
Browse files Browse the repository at this point in the history
  • Loading branch information
meastman authored and dkulp committed Nov 11, 2024
1 parent ef45381 commit 3e27a1a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/boot/FPPINIT.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ static void handleBootPartition() {
if (DirectoryExists(bootDir + "/fpp")) {
if (!FileExists(bootDir + "/fpp/copy_done")) {
std::string cmd = "/usr/bin/cp -a " + bootDir + "/fpp/* " + FPP_MEDIA_DIR;
exec(cmd);
PutFileContents(bootDir + "/fpp/copy_done", "1");
}
}
Expand Down

0 comments on commit 3e27a1a

Please sign in to comment.