summaryrefslogtreecommitdiffstats
path: root/os-plugins
diff options
context:
space:
mode:
authorSebastian2010-08-21 19:52:35 +0200
committerSebastian2010-08-21 19:52:35 +0200
commitf68dec7e6bfbad68b2cf72e266865ffdbc74138c (patch)
tree3d4e8f71c30754266dcbd13dfd7599769e69965e /os-plugins
parentbootsplash shutdown fix for ubuntu 10.04+ (diff)
downloadcore-f68dec7e6bfbad68b2cf72e266865ffdbc74138c.tar.gz
core-f68dec7e6bfbad68b2cf72e266865ffdbc74138c.tar.xz
core-f68dec7e6bfbad68b2cf72e266865ffdbc74138c.zip
tmp is cleared after logout..
Diffstat (limited to 'os-plugins')
-rw-r--r--os-plugins/plugins/bootsplash/XX_bootsplash.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/os-plugins/plugins/bootsplash/XX_bootsplash.sh b/os-plugins/plugins/bootsplash/XX_bootsplash.sh
index 8a829fc7..c405d735 100644
--- a/os-plugins/plugins/bootsplash/XX_bootsplash.sh
+++ b/os-plugins/plugins/bootsplash/XX_bootsplash.sh
@@ -40,11 +40,11 @@ if [ -e /initramfs/plugin-conf/bootsplash.conf ]; then
if [ -f $dmfile ]; then
sed -e "s,^script.*,script\n\t#0x42#," \
-e "s,#0x42#,# shutdown splashy - added by splashy plugin\n\t#0x42#," \
- -e "s,#0x42#,if [ ! -e /tmp/splashy-killed ]; then\n\t#0x42#, " \
+ -e "s,#0x42#,if [ ! -e /var/run/splashy-killed ]; then\n\t#0x42#, " \
-e "s,#0x42#, LD_LIBRARY_PATH=/opt/openslx/uclib-rootfs/lib/ \\\\\n\t#0x42#," \
-e "s,#0x42#, /opt/openslx/plugin-repo/bootsplash/bin/splashy_update exit \\\\\n\t#0x42#," \
-e "s,#0x42#, 2>/dev/null \n\t#0x42#," \
- -e "s,#0x42#, touch /tmp/splashy-killed \n\t#0x42#," \
+ -e "s,#0x42#, touch /var/run/splashy-killed \n\t#0x42#," \
-e "s,#0x42#,fi \n\t#0x42#," \
-e "s,#0x42#,#splashy-stop-done#," \
-i $dmfile 2>/dev/null &