summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/bootsplash/init-hooks
diff options
context:
space:
mode:
Diffstat (limited to 'os-plugins/plugins/bootsplash/init-hooks')
-rw-r--r--os-plugins/plugins/bootsplash/init-hooks/05-have-kernelvars/bootsplash.sh8
-rw-r--r--os-plugins/plugins/bootsplash/init-hooks/15-have-ip-config/bootsplash.sh2
-rw-r--r--os-plugins/plugins/bootsplash/init-hooks/25-have-network-root/bootsplash.sh2
-rw-r--r--os-plugins/plugins/bootsplash/init-hooks/40-started-hw-config/bootsplash.sh2
-rw-r--r--os-plugins/plugins/bootsplash/init-hooks/60-have-servconfig/bootsplash.sh2
-rw-r--r--os-plugins/plugins/bootsplash/init-hooks/70-before-plugins/bootsplash.sh2
-rw-r--r--os-plugins/plugins/bootsplash/init-hooks/80-after-plugins/bootsplash.sh2
-rw-r--r--os-plugins/plugins/bootsplash/init-hooks/85-have-initial-boot/bootsplash.sh1
-rw-r--r--os-plugins/plugins/bootsplash/init-hooks/90-postinit-done/bootsplash.sh1
-rw-r--r--os-plugins/plugins/bootsplash/init-hooks/95-cleanup/bootsplash.sh1
10 files changed, 13 insertions, 10 deletions
diff --git a/os-plugins/plugins/bootsplash/init-hooks/05-have-kernelvars/bootsplash.sh b/os-plugins/plugins/bootsplash/init-hooks/05-have-kernelvars/bootsplash.sh
index 392b234e..657ae1e4 100644
--- a/os-plugins/plugins/bootsplash/init-hooks/05-have-kernelvars/bootsplash.sh
+++ b/os-plugins/plugins/bootsplash/init-hooks/05-have-kernelvars/bootsplash.sh
@@ -4,13 +4,13 @@ if grep -E "(VESA|VGA)" /proc/fb > /dev/null 2>&1 \
&& grep -qi " quiet " /proc/cmdline > /dev/null 2>&1 \
&& [ $DEBUGLEVEL -eq 0 ] \
&& [ -e /bin/splashy ] ; then
- export no_bootsplash=0
+ export no_bootsplash=0
else
export no_bootsplash=1
fi
if [ ${no_bootsplash} -eq 0 ]; then
- /bin/splashy boot 2>/dev/null
- # add splashy.stop runlevel script
- D_SPLASHY=splashy.stop
+ /bin/splashy boot 2>/dev/null
+ # add splashy.stop runlevel script
+ D_SPLASHY=splashy.stop
fi
diff --git a/os-plugins/plugins/bootsplash/init-hooks/15-have-ip-config/bootsplash.sh b/os-plugins/plugins/bootsplash/init-hooks/15-have-ip-config/bootsplash.sh
index 7d8db91b..8df98b22 100644
--- a/os-plugins/plugins/bootsplash/init-hooks/15-have-ip-config/bootsplash.sh
+++ b/os-plugins/plugins/bootsplash/init-hooks/15-have-ip-config/bootsplash.sh
@@ -1 +1 @@
-[ ${no_bootsplash} = 0 ] && /bin/splashy_update "progress 15" >/dev/null 2>&1
+[ ${no_bootsplash} -eq 0 ] && /bin/splashy_update "progress 15" >/dev/null 2>&1
diff --git a/os-plugins/plugins/bootsplash/init-hooks/25-have-network-root/bootsplash.sh b/os-plugins/plugins/bootsplash/init-hooks/25-have-network-root/bootsplash.sh
index 5d2f9a85..be6ac567 100644
--- a/os-plugins/plugins/bootsplash/init-hooks/25-have-network-root/bootsplash.sh
+++ b/os-plugins/plugins/bootsplash/init-hooks/25-have-network-root/bootsplash.sh
@@ -1 +1 @@
-[ ${no_bootsplash} = 0 ] && /bin/splashy_update "progress 25" >/dev/null 2>&1
+[ ${no_bootsplash} -eq 0 ] && /bin/splashy_update "progress 25" >/dev/null 2>&1
diff --git a/os-plugins/plugins/bootsplash/init-hooks/40-started-hw-config/bootsplash.sh b/os-plugins/plugins/bootsplash/init-hooks/40-started-hw-config/bootsplash.sh
index 12affaa4..d5fc62ec 100644
--- a/os-plugins/plugins/bootsplash/init-hooks/40-started-hw-config/bootsplash.sh
+++ b/os-plugins/plugins/bootsplash/init-hooks/40-started-hw-config/bootsplash.sh
@@ -1 +1 @@
-[ ${no_bootsplash} = 0 ] && /bin/splashy_update "progress 40" >/dev/null 2>&1
+[ ${no_bootsplash} -eq 0 ] && /bin/splashy_update "progress 40" >/dev/null 2>&1
diff --git a/os-plugins/plugins/bootsplash/init-hooks/60-have-servconfig/bootsplash.sh b/os-plugins/plugins/bootsplash/init-hooks/60-have-servconfig/bootsplash.sh
index 5f6a1f57..9c3bd20f 100644
--- a/os-plugins/plugins/bootsplash/init-hooks/60-have-servconfig/bootsplash.sh
+++ b/os-plugins/plugins/bootsplash/init-hooks/60-have-servconfig/bootsplash.sh
@@ -1 +1 @@
-[ ${no_bootsplash} = 0 ] && /bin/splashy_update "progress 60" >/dev/null 2>&1
+[ ${no_bootsplash} -eq 0 ] && /bin/splashy_update "progress 60" >/dev/null 2>&1
diff --git a/os-plugins/plugins/bootsplash/init-hooks/70-before-plugins/bootsplash.sh b/os-plugins/plugins/bootsplash/init-hooks/70-before-plugins/bootsplash.sh
index d1b810f6..fcd0c410 100644
--- a/os-plugins/plugins/bootsplash/init-hooks/70-before-plugins/bootsplash.sh
+++ b/os-plugins/plugins/bootsplash/init-hooks/70-before-plugins/bootsplash.sh
@@ -1 +1 @@
-[ ${no_bootsplash} = 0 ] && /bin/splashy_update "progress 70" >/dev/null 2>&1
+[ ${no_bootsplash} -eq 0 ] && /bin/splashy_update "progress 70" >/dev/null 2>&1
diff --git a/os-plugins/plugins/bootsplash/init-hooks/80-after-plugins/bootsplash.sh b/os-plugins/plugins/bootsplash/init-hooks/80-after-plugins/bootsplash.sh
index fa1d0baa..0abfa5b2 100644
--- a/os-plugins/plugins/bootsplash/init-hooks/80-after-plugins/bootsplash.sh
+++ b/os-plugins/plugins/bootsplash/init-hooks/80-after-plugins/bootsplash.sh
@@ -1 +1 @@
-[ ${no_bootsplash} = 0 ] && /bin/splashy_update "progress 80" >/dev/null 2>&1
+[ ${no_bootsplash} -eq 0 ] && /bin/splashy_update "progress 80" >/dev/null 2>&1
diff --git a/os-plugins/plugins/bootsplash/init-hooks/85-have-initial-boot/bootsplash.sh b/os-plugins/plugins/bootsplash/init-hooks/85-have-initial-boot/bootsplash.sh
new file mode 100644
index 00000000..8738e454
--- /dev/null
+++ b/os-plugins/plugins/bootsplash/init-hooks/85-have-initial-boot/bootsplash.sh
@@ -0,0 +1 @@
+[ ${no_bootsplash} -eq 0 ] && /bin/splashy_update "progress 85" >/dev/null 2>&1
diff --git a/os-plugins/plugins/bootsplash/init-hooks/90-postinit-done/bootsplash.sh b/os-plugins/plugins/bootsplash/init-hooks/90-postinit-done/bootsplash.sh
new file mode 100644
index 00000000..2546d298
--- /dev/null
+++ b/os-plugins/plugins/bootsplash/init-hooks/90-postinit-done/bootsplash.sh
@@ -0,0 +1 @@
+[ ${no_bootsplash} -eq 0 ] && /bin/splashy_update "progress 90" >/dev/null 2>&1
diff --git a/os-plugins/plugins/bootsplash/init-hooks/95-cleanup/bootsplash.sh b/os-plugins/plugins/bootsplash/init-hooks/95-cleanup/bootsplash.sh
new file mode 100644
index 00000000..5ff86715
--- /dev/null
+++ b/os-plugins/plugins/bootsplash/init-hooks/95-cleanup/bootsplash.sh
@@ -0,0 +1 @@
+[ ${no_bootsplash} -eq 0 ] && /bin/splashy_update "progress 95" >/dev/null 2>&1