summaryrefslogtreecommitdiffstats
path: root/abs/core/fbsplash/fbsplash.initcpio_hook
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-12-12 23:46:00 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-12-12 23:46:00 (GMT)
commitd0bc5cf5bca845df25ac398b97995d2d1335f1ca (patch)
tree48ad7102f1dabe2f0242a773241cb3ac8a74c7d3 /abs/core/fbsplash/fbsplash.initcpio_hook
parente28e87dcbd836bd2d4611e0461e96c751f262d28 (diff)
downloadlinhes_pkgbuild-d0bc5cf5bca845df25ac398b97995d2d1335f1ca.zip
linhes_pkgbuild-d0bc5cf5bca845df25ac398b97995d2d1335f1ca.tar.gz
linhes_pkgbuild-d0bc5cf5bca845df25ac398b97995d2d1335f1ca.tar.bz2
removed packages that are no longer needed:
eject fbsplash kernel26 linhes-splash miscsplashutils tightvnc
Diffstat (limited to 'abs/core/fbsplash/fbsplash.initcpio_hook')
-rw-r--r--abs/core/fbsplash/fbsplash.initcpio_hook52
1 files changed, 0 insertions, 52 deletions
diff --git a/abs/core/fbsplash/fbsplash.initcpio_hook b/abs/core/fbsplash/fbsplash.initcpio_hook
deleted file mode 100644
index 02617a2..0000000
--- a/abs/core/fbsplash/fbsplash.initcpio_hook
+++ /dev/null
@@ -1,52 +0,0 @@
-run_hook ()
-{
- # avoid exporting configuration
- (
- SPLASH_INIT_MESSAGE="Initializing the kernel"
- # Get configuration and functions (faking sysinit for config file hacks)
- PREVLEVEL=N; RUNLEVEL=S
- . /sbin/splash-functions.sh
- unset PREVLEVEL RUNLEVEL
-
- [ "${SPLASH_MODE_REQ}" = "silent" ] || exit 0
-
- # Start the daemon here if possible
- # to show animations early and gain some bootup speed
- if [ -x "$spl_daemon" ]; then
- msg "Starting Fbsplash Daemon"
- set -e
- # Mount the cache within /run to get it moved to the new root
- mkdir /run/.splash-cache
- ( spl_cachedir=/run/.splash-cache; splash_cache_prep )
- # Take over any existing cache content
- mkdir -p $spl_cachedir
- parent=$( dirname $spl_cachedir )
- mv $spl_cachedir $parent/.splash-cache
- cp -a $parent/.splash-cache /run/
- # Symlink for starting the daemon
- ln -s /run/.splash-cache $spl_cachedir
- # Wait for any fbcondecor fadein - may take very long on some broken systems
- i=0
- while [ -n "$( pidof fbcondecor_helper )" ]; do
- if [ $i -ge 50 ]; then
- err "timeout on waiting for fbcondecor_helper to die!"
- exit 1
- fi
- sleep .1
- i=$(( i + 1 ))
- done
- # Actually start the daemon
- cd /run/.splash-cache
- set +e
- SPLASH_BOOT_MESSAGE="${SPLASH_INIT_MESSAGE}"
- splash_start && sleep .1 # allow the daemon to open the event dev
- exit
- fi
-
- # Start the fbcondecor helper if not already done by fbcondecor kernel
- if ! fbcondecor_supported; then
- BOOT_MSG="${SPLASH_INIT_MESSAGE}" \
- /sbin/fbcondecor_helper 2 init 0 0 $SPLASH_THEME
- fi
- )
-}