diff --git a/conf/config.template b/conf/config.template index 5432f98..5c9aef6 100644 --- a/conf/config.template +++ b/conf/config.template @@ -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 diff --git a/create_arm_img_urpmi.sh b/create_arm_img_urpmi.sh index a165165..2106a86 100644 --- a/create_arm_img_urpmi.sh +++ b/create_arm_img_urpmi.sh @@ -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