Jump to content


Photo

switchoff.mvi


  • Please log in to reply
9 replies to this topic

#1 foz1234

  • Member
  • 29 posts

0
Neutral

Posted 27 January 2013 - 16:32

hi
running the latest version openpli_2.1 on my genuine dm800 and i am trying to change switchoff.mvi in /usr/share
seems the openpli switchoff.mvi ( goodbye ) is no longer used
where does the yellow triangle come from?
and am i able to change it to use the
many thanks for this great image
foz

Re: switchoff.mvi #2 Dimitrij

  • PLi® Core member
  • 10,382 posts

+354
Excellent

Posted 27 January 2013 - 17:31

/etc/init.d/halt
#!/bin/sh
### BEGIN INIT INFO
# Provides:		  halt
# Required-Start:
# Required-Stop:
# Default-Start:
# Default-Stop:	  0
# Short-Description: Execute the halt command.
# Description:
### END INIT INFO
PATH=/sbin:/bin:/usr/sbin:/usr/bin
# See if we need to cut the power.
if test -x /etc/init.d/ups-monitor
then
/etc/init.d/ups-monitor poweroff
fi
# Don't shut down drives if we're using RAID.
hddown="-h"
if grep -qs '^md.*active' /proc/mdstat
then
hddown=""
fi
if test -e /usr/share/switchoff.mvi
then
showiframe /usr/share/switchoff.mvi
fi
halt -d -f -p $hddown
: exit 0

GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: switchoff.mvi #3 foz1234

  • Member
  • 29 posts

0
Neutral

Posted 27 January 2013 - 17:37

many thanks for your fast reply
do i replace old script with the script you posted?

my script as is at the moment :-
#! /bin/sh

PATH=/sbin:/bin:/usr/sbin:/usr/bin

if test -e /usr/share/switchoff.mvi
then
showiframe /usr/share/switchoff.mvi
fi

halt -d -f -i -p -h

: exit 0

many thanks

Edited by foz1234, 27 January 2013 - 17:38.


Re: switchoff.mvi #4 foz1234

  • Member
  • 29 posts

0
Neutral

Posted 27 January 2013 - 18:25

ive tried changing the scripts but no luck
still get yellow triangle & text saying your receiver is shutting down ?
foz

Re: switchoff.mvi #5 foz1234

  • Member
  • 29 posts

0
Neutral

Posted 27 January 2013 - 19:35

posted info for other people
changed to the below script and now its working
#! /bin/sh

PATH=/sbin:/bin:/usr/sbin:/usr/bin

if test -e /usr/share/switchoff.mvi
then
showiframe /usr/share/switchoff.mvi
#clear frame buffer to ensure switchoff.mvi is viewable
dd if=/dev/zero of=/dev/fb0 bs=4096 count=2108
fi

halt -d -f -i -p -h

: exit 0

Re: switchoff.mvi #6 odokrim

  • Member
  • 16 posts

0
Neutral

Posted 16 January 2016 - 12:13

This doesnt work on my VU zero



Re: switchoff.mvi #7 Dimitrij

  • PLi® Core member
  • 10,382 posts

+354
Excellent

Posted 16 January 2016 - 14:49

This doesnt work on my VU zero

use plugin logomanager


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: switchoff.mvi #8 odokrim

  • Member
  • 16 posts

0
Neutral

Posted 21 January 2016 - 21:43

Logomanager used but no switchoff logo.
Only yellow triangle and text.

Re: switchoff.mvi #9 WanWizard

  • PLi® Core member
  • 70,984 posts

+1,836
Excellent

Posted 21 January 2016 - 22:20

I have never seen a shutdown logo in a PLi image, I doubt if this is supported even...


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: switchoff.mvi #10 odokrim

  • Member
  • 16 posts

0
Neutral

Posted 22 January 2016 - 05:47

Ok Thank you




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users