mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-10-01 01:35:54 -04:00
30859d2c08
new (internal used) functions: - _exit - _exit_report - _exit_sigint these are used to fix several (wrong) error handlings. new environment variable: - UNATTENDED_PATCHING by default we assume unattended patching, i.e. if an error occurs during the patch, reset or any other process we will report the error and auto close the shell. this is needed as we source functions and code and so cannot simply terminate a master process. instead the whole shell will be terminated so if an error occurs nothing else will be executed (and you should notice easily that something is wrong). without that a (serious) error can still continue the rest of a function and you likely not even noticing the error itself. you can use: export UNATTENDED_PATCHING=0 before or after sourcing init.sh and it will *NOT* auto-close the shell. that way you can check the output and fix any issues. Signed-off-by: steadfasterX <steadfasterX@gmail.com> |
||
---|---|---|
.. | ||
Copy_Keys.sh | ||
Deblob.sh | ||
Defaults.sh | ||
Enable_Verity.sh | ||
Fix_CVE_Patchers.sh | ||
Functions.sh | ||
Optimize.sh | ||
Patch_CVE.sh | ||
Post.sh | ||
Shell.sh | ||
Tag_Verifier.sh |