summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2007-06-08 14:00:34 -0400
committerRay Strode <rstrode@redhat.com>2007-06-08 14:00:34 -0400
commitf81c62197c11e53aa478c75ab97f8b90e9d008cc (patch)
tree05b6b3c6c4a812f4ca2aea72b1303c599b82a490 /scripts
parent2cd4149ac868c2f871ac11cae2a8132befb05e34 (diff)
downloadplymouth-f81c62197c11e53aa478c75ab97f8b90e9d008cc.tar.gz
plymouth-f81c62197c11e53aa478c75ab97f8b90e9d008cc.tar.xz
plymouth-f81c62197c11e53aa478c75ab97f8b90e9d008cc.zip
add escape hatch to not run plymouth-update-initrd.sh
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/plymouth-update-initrd.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/plymouth-update-initrd.sh b/scripts/plymouth-update-initrd.sh
index b9de639..dc899b4 100755
--- a/scripts/plymouth-update-initrd.sh
+++ b/scripts/plymouth-update-initrd.sh
@@ -1,5 +1,9 @@
#!/bin/bash
+if [ "x$PLYMOUTH_DISABLE_INITRD" = "x1" ]; then
+ exit 0
+fi
+
set -e
[ -z "$LIB" ] && LIB="lib"