From 3a59cebc482d5590085562b7651ce29a57661985 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 1 Mar 2013 10:45:44 +0100 Subject: [PATCH] Dropping conditionals in backend, stuff is either there or not but not nothing in between. --- backends/dracut/live.script | 5 +---- backends/initramfs-tools/live.script | 10 ++-------- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/backends/dracut/live.script b/backends/dracut/live.script index 270fce9..2f29e70 100755 --- a/backends/dracut/live.script +++ b/backends/dracut/live.script @@ -2,10 +2,7 @@ #set -e -if [ -e /lib/live/boot.sh ] -then - . /lib/live/boot.sh -fi +. /lib/live/boot.sh DRACUT_FIXME () { diff --git a/backends/initramfs-tools/live.script b/backends/initramfs-tools/live.script index 7f99cc3..1c6ebbf 100755 --- a/backends/initramfs-tools/live.script +++ b/backends/initramfs-tools/live.script @@ -2,15 +2,9 @@ #set -e -if [ -e /lib/live/boot.sh ] -then - . /lib/live/boot.sh -fi +. /lib/live/boot.sh -if [ -e /scripts/functions ] -then - . /scripts/functions -fi +. /scripts/functions mountroot () { -- 2.1.4