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