mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-11-27 10:50:27 -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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue