Registry Mirror
Skip to content

Conversation

@tlaurion

Copy link
Copy Markdown
Collaborator

Includes #1041

This is a proposition to clarify what needs to be into etc/functions, /etc/gui_functions and gui-init in the goal of having reusable functions and more specialized init scripts while reusing at the maximum shared functions.

In this simple variation from master:

  • etc/functions is imported by etc/gui_functions
  • tmp/config is imported in etc/gui_functions
  • gui-init is left in a really bare condition

@MrChromebox : you would want to clean things more then this? From basic testing, everything works as it is. I came to realize that no etc/gui_functions were even imported buy gui-init as of now. We could remove duplication between etc/functions and etc/gui_functions, where etc/gui_functions could simply be screen prompts/gui selectors, and where etc/functions be the actual functions doing the work, which could then be called in an unattended way if some variables are not populated (empty).

The reason I think this is important is that other init scripts could be created to automate some processes, importing required input from outside sources where/when needed.

Ping me if your want to discuss this more dynamically.

@tlaurion

Copy link
Copy Markdown
Collaborator Author

Continues discussion that was started #1032 (comment)

@tlaurion
tlaurion marked this pull request as draft October 19, 2021 19:17
@tlaurion
tlaurion force-pushed the gui_init-seperate_gui_functions_from_gui_init branch from 0736f83 to 1ac9636 Compare October 19, 2021 22:29
@tlaurion

Copy link
Copy Markdown
Collaborator Author

Done.

@tlaurion tlaurion closed this Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant