diff options
| -rwxr-xr-x | meta/packages/psplash/files/psplash-init | 5 | ||||
| -rw-r--r-- | meta/packages/psplash/psplash_svn.bb | 6 | 
2 files changed, 6 insertions, 5 deletions
diff --git a/meta/packages/psplash/files/psplash-init b/meta/packages/psplash/files/psplash-init index ea370d622b..66c85e9335 100755 --- a/meta/packages/psplash/files/psplash-init +++ b/meta/packages/psplash/files/psplash-init  | |||
| @@ -7,7 +7,8 @@ | |||
| 7 | # Default-Stop: | 7 | # Default-Stop: | 
| 8 | ### END INIT INFO | 8 | ### END INIT INFO | 
| 9 | 9 | ||
| 10 | for x in $(cat /proc/cmdline); do | 10 | read CMDLINE < /proc/cmdline | 
| 11 | for x in $CMDLINE; do | ||
| 11 | case $x in | 12 | case $x in | 
| 12 | psplash=false) | 13 | psplash=false) | 
| 13 | echo "Boot splashscreen disabled" | 14 | echo "Boot splashscreen disabled" | 
| @@ -21,7 +22,7 @@ mount tmpfs -t tmpfs $TMPDIR -o,size=40k | |||
| 21 | 22 | ||
| 22 | rotation=0 | 23 | rotation=0 | 
| 23 | if [ -e /etc/rotation ]; then | 24 | if [ -e /etc/rotation ]; then | 
| 24 | rotation=`cat /etc/rotation` | 25 | read rotation < /etc/rotation | 
| 25 | fi | 26 | fi | 
| 26 | 27 | ||
| 27 | /usr/bin/psplash --angle $rotation & | 28 | /usr/bin/psplash --angle $rotation & | 
diff --git a/meta/packages/psplash/psplash_svn.bb b/meta/packages/psplash/psplash_svn.bb index f278399069..d46b051c6b 100644 --- a/meta/packages/psplash/psplash_svn.bb +++ b/meta/packages/psplash/psplash_svn.bb  | |||
| @@ -2,7 +2,7 @@ DESCRIPTION = "Userspace framebuffer boot logo based on usplash." | |||
| 2 | SECTION = "base" | 2 | SECTION = "base" | 
| 3 | LICENSE = "GPL" | 3 | LICENSE = "GPL" | 
| 4 | PV = "0.0+svnr${SRCREV}" | 4 | PV = "0.0+svnr${SRCREV}" | 
| 5 | PR = "r3" | 5 | PR = "r4" | 
| 6 | 6 | ||
| 7 | SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=psplash;proto=http \ | 7 | SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=psplash;proto=http \ | 
| 8 | file://psplash-init" | 8 | file://psplash-init" | 
| @@ -16,8 +16,8 @@ FILES_${PN} += "/mnt/.psplash" | |||
| 16 | do_install_prepend() { | 16 | do_install_prepend() { | 
| 17 | install -d ${D}/mnt/.psplash/ | 17 | install -d ${D}/mnt/.psplash/ | 
| 18 | install -d ${D}${sysconfdir}/init.d/ | 18 | install -d ${D}${sysconfdir}/init.d/ | 
| 19 | install -m 0755 ${WORKDIR}/psplash-init ${D}${sysconfdir}/init.d/psplash | 19 | install -m 0755 ${WORKDIR}/psplash-init ${D}${sysconfdir}/init.d/psplash.sh | 
| 20 | } | 20 | } | 
| 21 | 21 | ||
| 22 | INITSCRIPT_NAME = "psplash" | 22 | INITSCRIPT_NAME = "psplash.sh" | 
| 23 | INITSCRIPT_PARAMS = "start 0 S . stop 20 0 1 6 ." | 23 | INITSCRIPT_PARAMS = "start 0 S . stop 20 0 1 6 ." | 
