mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-12-26 07:59:30 -05:00
support per device config
when the file `~/.divested.vars.${BDEVICE}` exists it get sourced after the default variables set by init.sh. so to make use of this you have to `export BDEVICE=hotdog` before `source ../Scripts/init.sh`. Then the file `~/.divested.vars.hotdog` will be sourced - if existent. this way one can: - override defaults without touching the init.sh (makes git pull more convenient) - set different settings for different devices Signed-off-by: steadfasterX <steadfasterX@gmail.com>
This commit is contained in:
parent
a3807ca12d
commit
ad32c617d5
@ -106,6 +106,7 @@ export DOS_THEME_700="E64A19"; #Deep Orange 700
|
||||
#
|
||||
#END OF USER CONFIGURABLE OPTIONS
|
||||
#
|
||||
[ -f "$HOME/.divested.vars.${BDEVICE}" ] && source $HOME/.divested.vars.${BDEVICE} && echo "included $HOME/.divested.vars.${BDEVICE} config"
|
||||
|
||||
umask 0022;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user