summaryrefslogtreecommitdiffstats
path: root/d-i-preseed-cfgs/plymouthbug-kludge.sh
diff options
context:
space:
mode:
Diffstat (limited to 'd-i-preseed-cfgs/plymouthbug-kludge.sh')
-rw-r--r--d-i-preseed-cfgs/plymouthbug-kludge.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/d-i-preseed-cfgs/plymouthbug-kludge.sh b/d-i-preseed-cfgs/plymouthbug-kludge.sh
new file mode 100644
index 00000000..b831e082
--- /dev/null
+++ b/d-i-preseed-cfgs/plymouthbug-kludge.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+for f in /target/etc/plymouth/plymouthd.conf /target/opt/ltsp/i386/etc/plymouth/plymouthd.conf ; do
+ # this is a joyous race condition
+ while [ ! -e $f ] ; do
+ sleep 1
+ done
+
+ rm -f $f
+done