View Single Post
Old 05-05-2013, 04:08 PM   #5
yoq
Developer
yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.
 
Posts: 77
Karma: 206176
Join Date: Apr 2013
Location: Europe
Device: Kobo Glo
don't forget to "chmod +x script.sh"

busybox probably doesn't support /etc/rc0.d
however /etc/inittab should do as well by adding:
Code:
::shutdown:/path/to/script.sh
Details: http://git.busybox.net/busybox/tree/examples/inittab
yoq is offline   Reply With Quote