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
foz1234
Member Since 17 Oct 2008Offline Last Active 23 Jun 2014 17:11