diff --git a/src/freedombone-image b/src/freedombone-image index 2894cd6a..425a4559 100755 --- a/src/freedombone-image +++ b/src/freedombone-image @@ -78,10 +78,10 @@ DEFAULT_DOMAIN_NAME="${PROJECT_NAME}.local" # Minimum number of characters in a password MINIMUM_PASSWORD_LENGTH=10 if [ -f /usr/local/bin/${PROJECT_NAME} ]; then - MINIMUM_PASSWORD_LENGTH=$(cat /usr/local/bin/${PROJECT_NAME} | grep 'MINIMUM_PASSWORD_LENGTH=' | head -n 1 | awk -F '=' '{print $2}') + MINIMUM_PASSWORD_LENGTH=$(cat /usr/local/bin/${PROJECT_NAME}-utils-passwords | grep 'MINIMUM_PASSWORD_LENGTH=' | head -n 1 | awk -F '=' '{print $2}') else if [ -f /usr/bin/${PROJECT_NAME} ]; then - MINIMUM_PASSWORD_LENGTH=$(cat /usr/bin/${PROJECT_NAME} | grep 'MINIMUM_PASSWORD_LENGTH=' | head -n 1 | awk -F '=' '{print $2}') + MINIMUM_PASSWORD_LENGTH=$(cat /usr/bin/${PROJECT_NAME}-utils-passwords | grep 'MINIMUM_PASSWORD_LENGTH=' | head -n 1 | awk -F '=' '{print $2}') fi fi