creation of config directory
This commit is contained in:
parent
7de3bb739c
commit
5899e80499
@ -55,3 +55,5 @@ HOSTNAME="$TARGET.$ID_USER"
|
||||
|
||||
#Path where the raspberry pi firmware is/will be installed
|
||||
FIRMWARE_PATH="$INSTALL_PATH/"
|
||||
|
||||
#Path to config's files
|
||||
|
@ -632,13 +632,13 @@ if [ -e "./$CONFIG_PATH" ];then
|
||||
info "using $CONFIG_PATH as config"
|
||||
. "./$CONFIG_PATH"
|
||||
else
|
||||
$CONFIG_PATH="$SOURCE_PATH/`basename $CONFIG_PATH`"
|
||||
$CONFIG_PATH="$SOURCE_PATH/config/`basename $CONFIG_PATH`"
|
||||
if [ -e "$CONFIG_PATH" ];then
|
||||
. "$CONFIG_PATH"
|
||||
info "using $CONFIG_PATH as config"
|
||||
else
|
||||
warning "$CONFIG_PATH do not exists"
|
||||
if [ -e "$SOURCE_PATH/config.txt" ];then
|
||||
if [ -e "$SOURCE_PATH/config/config.txt" ];then
|
||||
. "$SOURCE_PATH/config.txt"
|
||||
warning "Using $SOURCE_PATH/config.txt as config file"
|
||||
else
|
||||
|
Reference in New Issue
Block a user