summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbackends/dracut/live.script5
-rwxr-xr-xbackends/initramfs-tools/live.script10
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 ()
{