main,static,sys

This commit is contained in:
Marc Beninca 2023-11-30 13:34:21 +01:00
parent 5c8fedafd9
commit 29ed9e9f03
9 changed files with 98 additions and 50 deletions

View file

@ -37,11 +37,12 @@ function env_get {
if [ "${1}" == 'live_from' ] ; then get="${live_from}" ; fi
if [ "${1}" == 'pause' ] ; then get="${pause}" ; fi
if [ "${1}" == 'time_out' ] ; then get="${time_out}" ; fi
if [ ! "${get}" ] ; then return 1 ; fi
if [ ! "${get}" ] ; then false ; fi
}
function env_init {
grub_init
sys_set
env set
env_mod
env load