dtfscript: Correct device RC dir
This commit is contained in:
parent
df9bf53a9d
commit
3b90969a87
@ -64,13 +64,14 @@ fi
|
||||
|
||||
## Set some more variables
|
||||
export DTF_HOME="$HOME/.dtfscripts"
|
||||
export DTF_RC_DIR="$DTF_HOME/devices"
|
||||
export DTF_SERVICES_DIR="$DTF_HOME/services"
|
||||
export DTF_TASKS_DIR="$DTF_HOME/tasks"
|
||||
|
||||
## Load device-specific scripts
|
||||
if [[ -x "$DTF_HOME/devices/$(hostname).rc" ]]; then
|
||||
dtf_log "Sourcing devices/$(hostname).rc"
|
||||
source $HOME/.config/dtfscripts/devices/$(hostname).rc
|
||||
source "$DTF_RC_DIR/$(hostname).rc"
|
||||
fi
|
||||
|
||||
## Determine which tasks to run
|
||||
|
Loading…
x
Reference in New Issue
Block a user