From 90b81e9f4b4f85cf270a60df9aa06f0912712315 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Thu, 29 Aug 2013 21:04:33 +0200 Subject: [PATCH] initrd.scripts: drop unused function: uppercase() --- defaults/initrd.scripts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts index 5f9165e..cd4d449 100755 --- a/defaults/initrd.scripts +++ b/defaults/initrd.scripts @@ -9,11 +9,6 @@ . /etc/initrd.d/00-modules.sh -uppercase() { - # needs tr on busybox - echo ${1} | tr 'a-z' 'A-Z' -} - real_root_init() { if [ -z "${REAL_ROOT}" ] && [ "${FAKE_ROOT}" != "/dev/ram0" ]; then REAL_ROOT="${FAKE_ROOT}" @@ -716,9 +711,6 @@ open_luks() { # TODO(lxnay): what has been seen, cannot be unseen. # TODO(lxnay): there is so much wrong in this function... - # please use 'tr' and this line, or remove it - # eval local TYPE=$(uppercase $1) - case $1 in root) local TYPE=ROOT