2017-10-13, 14:41
Hey All. Very new to the forum. I've searched but cant seem to find what I'm looking for. I wish to play a short video before the shutdown or reboot command executes but can't seem to figure it out. the video clip should run like a closing credits type thing. Any ideas on the proper command(s)? I've looked into /storage/.config/shutdown.sh but have no idea on what commands would produce the desired effect.
case "$1" in
halt)
# your commands here
;;
poweroff)
# your commands here
;;
reboot)
# your commands here
;;
*)
# your commands here
;;
esac
case "$1" in
halt)
# your commands here
;;
poweroff)
# your commands here
;;
reboot)
# your commands here
;;
*)
# your commands here
;;
esac