View Single Post
Old 05-06-2013, 07:40 AM   #6
Lucas Malor
Pain in the arse
Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.
 
Lucas Malor's Avatar
 
Posts: 758
Karma: 77856
Join Date: Apr 2013
Device: Kobo Aura One, Kindle 4
Quote:
Originally Posted by yoq View Post
don't forget to "chmod +x script.sh"
......damnit :-P

Quote:
Originally Posted by yoq View Post
busybox probably doesn't support /etc/rc0.d
/etc/inittab should do as well
It doesn't work... I added

Code:
::shutdown:/etc/init.d/test
before

Code:
::shutdown:/bin/umount -a -r
the stupid test script works if I run it manually, but it's not executed at shutdown

EDIT: I also added sync at the end, but nothing

Last edited by Lucas Malor; 05-06-2013 at 08:33 AM. Reason: added sync without success
Lucas Malor is offline   Reply With Quote