]> Kevux Git Server - fll/commit
Bugfix: Fix problems exposed due to testing and improve "Init".
authorKevin Day <thekevinday@gmail.com>
Sat, 25 Sep 2021 05:15:16 +0000 (00:15 -0500)
committerKevin Day <thekevinday@gmail.com>
Sat, 25 Sep 2021 05:26:13 +0000 (00:26 -0500)
commit016e9f69523a821c1907741ef019876b22ab40c2
tree303cf01ed7e740f299c6fdaf494cdb3784551351
parentcb98974d5dcbc0ac50cc5e6e56fdff590b3c2fe3
Bugfix: Fix problems exposed due to testing and improve "Init".

As expected, I have found several regressions as a result of the mass conversion to fl_print_format() and similar.
There are several places where the wrong parameters or string replacements are used.

Improve the Controller to allow for "Init" to not attempt to mount the pid file (which allows Init to also manage initial mounting and device creation without depending on the existence of the filesystem structure).
The Controllerr "Init" now treats an empty string for the --pid option as disabling the pid file creation.
Do not treat exiting as a result from interrupts as an exit error.
12 files changed:
level_3/controller/c/controller.c
level_3/controller/c/controller.h
level_3/controller/c/main.c
level_3/controller/c/private-common.c
level_3/controller/c/private-controller.c
level_3/controller/c/private-entry.c
level_3/controller/c/private-rule.c
level_3/controller/data/settings/entries/default.entry
level_3/controller/data/settings/entries/maintenance.entry [new file with mode: 0644]
level_3/controller/data/settings/rules/boot/devices.rule [deleted file]
level_3/controller/data/settings/rules/program/terminal.rule
level_3/fake/c/private-print.c