summaryrefslogtreecommitdiffstats
path: root/abs/core/plymouth/plymouth.initcpio_hook
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2015-01-02 22:16:24 (GMT)
committerBritney Fransen <brfransen@gmail.com>2015-01-02 22:16:24 (GMT)
commit27f7a8d911d79a795090322892f0b831a5de714a (patch)
tree996aa2408fc127787b4b85720e2b3d203c3b130d /abs/core/plymouth/plymouth.initcpio_hook
parentcbf49910602f00689c5d3e393019474e68c3ceab (diff)
downloadlinhes_pkgbuild-27f7a8d911d79a795090322892f0b831a5de714a.zip
linhes_pkgbuild-27f7a8d911d79a795090322892f0b831a5de714a.tar.gz
linhes_pkgbuild-27f7a8d911d79a795090322892f0b831a5de714a.tar.bz2
Revert "plymouth: update to 0.9.0"
This reverts commit d5cb134735305134af8410f00768adf4b5254c91.
Diffstat (limited to 'abs/core/plymouth/plymouth.initcpio_hook')
-rw-r--r--abs/core/plymouth/plymouth.initcpio_hook29
1 files changed, 11 insertions, 18 deletions
diff --git a/abs/core/plymouth/plymouth.initcpio_hook b/abs/core/plymouth/plymouth.initcpio_hook
index 3d7ec1d..d527f24 100644
--- a/abs/core/plymouth/plymouth.initcpio_hook
+++ b/abs/core/plymouth/plymouth.initcpio_hook
@@ -1,23 +1,16 @@
-run_earlyhook(){
- # first trigger graphics subsystem
- udevadm trigger --action=add --attr-match=class=0x030000 >/dev/null 2>&1
- # first trigger graphics and tty subsystem
- udevadm trigger --action=add --subsystem-match=graphics --subsystem-match=drm --subsystem-match=tty >/dev/null 2>&1
-
- udevadm settle --timeout=30 2>&1
-
- /usr/bin/mknod /dev/fb c 29 &>/dev/null
- /usr/bin/mkdir -p /dev/pts
- /usr/bin/mount -t devpts -o noexec,nosuid,gid=5,mode=0620 devpts /dev/pts || true
- /usr/bin/plymouthd --mode=boot --pid-file=/run/plymouth/pid --attach-to-session
-}
-
run_hook() {
+ msg -n ":: Loading plymouth..."
+
+ /bin/mknod /dev/fb c 29 0 &>/dev/null
+ #/bin/mount devpts /dev/pts -t devpts
+
+ # plymouth deamon
+ #/bin/mkdir -p /run/plymouth
+ /usr/sbin/plymouthd --mode=boot --pid-file=/run/plymouth.pid
+
+ # plymouth frontend
/usr/bin/plymouth --show-splash
-}
-
-run_latehook(){
- /usr/bin/plymouth update-root-fs --new-root-dir=/new_root
+ msg "done."
}
# vim: set ft=sh: