From 520391bb466583fb04300088d3bbe593d116e471 Mon Sep 17 00:00:00 2001 From: Ian Leonard Date: Fri, 5 Oct 2018 06:49:13 +0000 Subject: [PATCH] config/functions: retire unused functions eglibc ceased active development years ago and is no longer in tree, so no need to check for it. tolower() has been around since 2010 and is unused anywhere. Wish it well! Should it return, tr '[:upper:]' '[:lower:]' is likely better. Signed-off-by: Ian Leonard --- config/functions | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/config/functions b/config/functions index c9691c9c95..b6cf71aeaa 100644 --- a/config/functions +++ b/config/functions @@ -671,17 +671,6 @@ install_addon_files() { create_addon_xml "$1" } -tolower() { - echo "$@" | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz -} - -require_eglibc() { - if [ "$TARGET_LIBC" != eglibc ]; then - echo "$1 requires eglibc, aborting." - exit 1 - fi -} - add_user() { # Usage: add_user "username" "password" "userid" "groupid" "description" "home" "shell" mkdir -p ${INSTALL}/etc