From 458ae15f086baa2412b5786220269051a6013a4b Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Sun, 20 Oct 2013 11:06:10 +0200 Subject: [PATCH] initrd.defaults: don't use backticks --- defaults/initrd.defaults | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/defaults/initrd.defaults b/defaults/initrd.defaults index 609ca8c..656473a 100755 --- a/defaults/initrd.defaults +++ b/defaults/initrd.defaults @@ -44,9 +44,9 @@ WHITE="" # Just go to the top of the screen # echo -n "" -KV=`uname -r` -KMAJOR=`echo $KV | cut -f1 -d.` -KMINOR=`echo $KV | cut -f2 -d.` +KV=$(uname -r) +KMAJOR=$(echo $KV | cut -f1 -d.) +KMINOR=$(echo $KV | cut -f2 -d.) KVER="${KMAJOR}.${KMINOR}" MISCOPTS='debug detect' @@ -66,6 +66,7 @@ PLYMOUTHD_BIN='/sbin/plymouthd' PLYMOUTH_BIN='/bin/plymouth' [ ! -e "${PLYMOUTH_BIN}" ] && PLYMOUTH_BIN='/usr/bin/plymouth' + REAL_ROOT='' CONSOLE='/dev/console' NEW_ROOT='/newroot'