mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-30 20:43:02 +02:00
Keep the transient files in the system's /mnt/tmp, and only persist startup_db in /cfg. This design (with a symlink) means that /cfg/startup_db _must_ exist in order for clixon to start properly. Therefore run /lib/infix/prep-db to take care of this. At the moment, this just creates an empty factory config, and copies it to startup if it doesn't exist. In the future, prep-db could select a factory config based on some hardware identifier, or even build one dynamically, based on available ports etc.