From: Daniel Baumann Date: Fri, 1 Mar 2013 09:45:44 +0000 (+0100) Subject: Dropping conditionals in backend, stuff is either there or not but not nothing in... X-Git-Tag: debian/4.0_a8-1~5 X-Git-Url: http://git.grml.org/?p=live-boot-grml.git;a=commitdiff_plain;h=3a59cebc482d5590085562b7651ce29a57661985 Dropping conditionals in backend, stuff is either there or not but not nothing in between. --- 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 () {