From 416ab8a37f1b07dc9f6c0fb3ff1a8ff2036510b5 Mon Sep 17 00:00:00 2001 From: Sebastian Schmelzer Date: Thu, 2 Sep 2010 17:50:49 +0200 Subject: change dir structure --- .../init-hooks/05-have-kernelvars/bootsplash.sh | 18 ++++++++++++++++++ .../init-hooks/10-nw-if-config/bootsplash.sh | 1 + .../init-hooks/20-nw-bridge-config/bootsplash.sh | 1 + .../init-hooks/25-have-ip-config/bootsplash.sh | 1 + .../init-hooks/35-have-network-root/bootsplash.sh | 1 + .../init-hooks/40-started-hw-config/bootsplash.sh | 1 + .../init-hooks/50-have-layered-fs/bootsplash.sh | 1 + .../init-hooks/60-have-servconfig/bootsplash.sh | 1 + .../init-hooks/70-before-plugins/bootsplash.sh | 1 + .../init-hooks/80-after-plugins/bootsplash.sh | 1 + .../init-hooks/85-have-initial-boot/bootsplash.sh | 1 + .../init-hooks/90-postinit-done/bootsplash.sh | 1 + .../bootsplash/init-hooks/95-cleanup/bootsplash.sh | 1 + .../init-hooks/99-handing-over/bootsplash.sh | 1 + 14 files changed, 31 insertions(+) create mode 100644 src/os-plugins/plugins/bootsplash/init-hooks/05-have-kernelvars/bootsplash.sh create mode 100644 src/os-plugins/plugins/bootsplash/init-hooks/10-nw-if-config/bootsplash.sh create mode 100644 src/os-plugins/plugins/bootsplash/init-hooks/20-nw-bridge-config/bootsplash.sh create mode 100644 src/os-plugins/plugins/bootsplash/init-hooks/25-have-ip-config/bootsplash.sh create mode 100644 src/os-plugins/plugins/bootsplash/init-hooks/35-have-network-root/bootsplash.sh create mode 100644 src/os-plugins/plugins/bootsplash/init-hooks/40-started-hw-config/bootsplash.sh create mode 100644 src/os-plugins/plugins/bootsplash/init-hooks/50-have-layered-fs/bootsplash.sh create mode 100644 src/os-plugins/plugins/bootsplash/init-hooks/60-have-servconfig/bootsplash.sh create mode 100644 src/os-plugins/plugins/bootsplash/init-hooks/70-before-plugins/bootsplash.sh create mode 100644 src/os-plugins/plugins/bootsplash/init-hooks/80-after-plugins/bootsplash.sh create mode 100644 src/os-plugins/plugins/bootsplash/init-hooks/85-have-initial-boot/bootsplash.sh create mode 100644 src/os-plugins/plugins/bootsplash/init-hooks/90-postinit-done/bootsplash.sh create mode 100644 src/os-plugins/plugins/bootsplash/init-hooks/95-cleanup/bootsplash.sh create mode 100644 src/os-plugins/plugins/bootsplash/init-hooks/99-handing-over/bootsplash.sh (limited to 'src/os-plugins/plugins/bootsplash/init-hooks') diff --git a/src/os-plugins/plugins/bootsplash/init-hooks/05-have-kernelvars/bootsplash.sh b/src/os-plugins/plugins/bootsplash/init-hooks/05-have-kernelvars/bootsplash.sh new file mode 100644 index 00000000..a54fde96 --- /dev/null +++ b/src/os-plugins/plugins/bootsplash/init-hooks/05-have-kernelvars/bootsplash.sh @@ -0,0 +1,18 @@ +# splashy depends on /proc/fb with VESA +# only activate with kernel option quiet and no debuglevel +if grep -q ".*" /proc/fb > /dev/null 2>&1 \ + && grep -qie " quiet " -qie "^quiet " -qie " quiet$" /proc/cmdline \ + > /dev/null 2>&1 \ + && [ $DEBUGLEVEL -eq 0 ] \ + && [ -e /bin/splashy ] ; then + export no_bootsplash=0 +else + export no_bootsplash=1 +fi + +if [ ${no_bootsplash} -eq 0 ]; then + /bin/splashy boot 2>/dev/null + # add splashy.boot runlevel script + export D_SPLASHY=splashy.boot +fi + diff --git a/src/os-plugins/plugins/bootsplash/init-hooks/10-nw-if-config/bootsplash.sh b/src/os-plugins/plugins/bootsplash/init-hooks/10-nw-if-config/bootsplash.sh new file mode 100644 index 00000000..7f3d563e --- /dev/null +++ b/src/os-plugins/plugins/bootsplash/init-hooks/10-nw-if-config/bootsplash.sh @@ -0,0 +1 @@ +[ ${no_bootsplash} -eq 0 ] && /bin/splashy_update "progress 10" >/dev/null 2>&1 diff --git a/src/os-plugins/plugins/bootsplash/init-hooks/20-nw-bridge-config/bootsplash.sh b/src/os-plugins/plugins/bootsplash/init-hooks/20-nw-bridge-config/bootsplash.sh new file mode 100644 index 00000000..d8155ff0 --- /dev/null +++ b/src/os-plugins/plugins/bootsplash/init-hooks/20-nw-bridge-config/bootsplash.sh @@ -0,0 +1 @@ +[ ${no_bootsplash} -eq 0 ] && /bin/splashy_update "progress 20" >/dev/null 2>&1 diff --git a/src/os-plugins/plugins/bootsplash/init-hooks/25-have-ip-config/bootsplash.sh b/src/os-plugins/plugins/bootsplash/init-hooks/25-have-ip-config/bootsplash.sh new file mode 100644 index 00000000..be6ac567 --- /dev/null +++ b/src/os-plugins/plugins/bootsplash/init-hooks/25-have-ip-config/bootsplash.sh @@ -0,0 +1 @@ +[ ${no_bootsplash} -eq 0 ] && /bin/splashy_update "progress 25" >/dev/null 2>&1 diff --git a/src/os-plugins/plugins/bootsplash/init-hooks/35-have-network-root/bootsplash.sh b/src/os-plugins/plugins/bootsplash/init-hooks/35-have-network-root/bootsplash.sh new file mode 100644 index 00000000..606eb694 --- /dev/null +++ b/src/os-plugins/plugins/bootsplash/init-hooks/35-have-network-root/bootsplash.sh @@ -0,0 +1 @@ +[ ${no_bootsplash} -eq 0 ] && /bin/splashy_update "progress 35" >/dev/null 2>&1 diff --git a/src/os-plugins/plugins/bootsplash/init-hooks/40-started-hw-config/bootsplash.sh b/src/os-plugins/plugins/bootsplash/init-hooks/40-started-hw-config/bootsplash.sh new file mode 100644 index 00000000..d5fc62ec --- /dev/null +++ b/src/os-plugins/plugins/bootsplash/init-hooks/40-started-hw-config/bootsplash.sh @@ -0,0 +1 @@ +[ ${no_bootsplash} -eq 0 ] && /bin/splashy_update "progress 40" >/dev/null 2>&1 diff --git a/src/os-plugins/plugins/bootsplash/init-hooks/50-have-layered-fs/bootsplash.sh b/src/os-plugins/plugins/bootsplash/init-hooks/50-have-layered-fs/bootsplash.sh new file mode 100644 index 00000000..4b7e9c78 --- /dev/null +++ b/src/os-plugins/plugins/bootsplash/init-hooks/50-have-layered-fs/bootsplash.sh @@ -0,0 +1 @@ +[ ${no_bootsplash} -eq 0 ] && /bin/splashy_update "progress 50" >/dev/null 2>&1 diff --git a/src/os-plugins/plugins/bootsplash/init-hooks/60-have-servconfig/bootsplash.sh b/src/os-plugins/plugins/bootsplash/init-hooks/60-have-servconfig/bootsplash.sh new file mode 100644 index 00000000..9c3bd20f --- /dev/null +++ b/src/os-plugins/plugins/bootsplash/init-hooks/60-have-servconfig/bootsplash.sh @@ -0,0 +1 @@ +[ ${no_bootsplash} -eq 0 ] && /bin/splashy_update "progress 60" >/dev/null 2>&1 diff --git a/src/os-plugins/plugins/bootsplash/init-hooks/70-before-plugins/bootsplash.sh b/src/os-plugins/plugins/bootsplash/init-hooks/70-before-plugins/bootsplash.sh new file mode 100644 index 00000000..fcd0c410 --- /dev/null +++ b/src/os-plugins/plugins/bootsplash/init-hooks/70-before-plugins/bootsplash.sh @@ -0,0 +1 @@ +[ ${no_bootsplash} -eq 0 ] && /bin/splashy_update "progress 70" >/dev/null 2>&1 diff --git a/src/os-plugins/plugins/bootsplash/init-hooks/80-after-plugins/bootsplash.sh b/src/os-plugins/plugins/bootsplash/init-hooks/80-after-plugins/bootsplash.sh new file mode 100644 index 00000000..0abfa5b2 --- /dev/null +++ b/src/os-plugins/plugins/bootsplash/init-hooks/80-after-plugins/bootsplash.sh @@ -0,0 +1 @@ +[ ${no_bootsplash} -eq 0 ] && /bin/splashy_update "progress 80" >/dev/null 2>&1 diff --git a/src/os-plugins/plugins/bootsplash/init-hooks/85-have-initial-boot/bootsplash.sh b/src/os-plugins/plugins/bootsplash/init-hooks/85-have-initial-boot/bootsplash.sh new file mode 100644 index 00000000..8738e454 --- /dev/null +++ b/src/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/src/os-plugins/plugins/bootsplash/init-hooks/90-postinit-done/bootsplash.sh b/src/os-plugins/plugins/bootsplash/init-hooks/90-postinit-done/bootsplash.sh new file mode 100644 index 00000000..2546d298 --- /dev/null +++ b/src/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/src/os-plugins/plugins/bootsplash/init-hooks/95-cleanup/bootsplash.sh b/src/os-plugins/plugins/bootsplash/init-hooks/95-cleanup/bootsplash.sh new file mode 100644 index 00000000..5ff86715 --- /dev/null +++ b/src/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 diff --git a/src/os-plugins/plugins/bootsplash/init-hooks/99-handing-over/bootsplash.sh b/src/os-plugins/plugins/bootsplash/init-hooks/99-handing-over/bootsplash.sh new file mode 100644 index 00000000..93673915 --- /dev/null +++ b/src/os-plugins/plugins/bootsplash/init-hooks/99-handing-over/bootsplash.sh @@ -0,0 +1 @@ +[ ${no_bootsplash} -eq 0 ] && /bin/splashy_update "progress 100" >/dev/null 2>&1 -- cgit v1.2.3-55-g7522