1
5x00 General discussions / Sl5600 Can't Execute Rc0.d, Rc6.d ?
« on: January 20, 2006, 07:33:29 am »
I am using the Watapon (1.6.1) ROM, an ext2 SD, a swapfile on same and putting the Python ext2 image.
With minor changes to some of the published scripts I have this working.
When I manually execute the scripts in rc0.d or rc6.d and the rc.5 everything works fine and the ext of the python image and the sd come up clean.
Unfortunately if I execute "shutdown -r now" or the reboot gui app, both ext systems come up not clean.
This matches the problem that I had with using a fat on the SD - eventually I would loose files.
On digging into this, I find that "apparently" the real rc.d is in /home/root/etc. This one is readonly and its own rc0.d and rc6.d that have only one entry "halt" and it is the halt in the /home/root/etc/init.d.
So it is my belief that the /etc/rc.d/rc0.d and rc6.d are not being executed at all when using shutdown or the gui app.
Is there a way around this? I can't figure out a way to really figure out what is executed in a power down (specifically on a Zaurus). I find plenty of docs on the specific startup, but not on shut down.
Does anyone have some clues I can follow?
With minor changes to some of the published scripts I have this working.
When I manually execute the scripts in rc0.d or rc6.d and the rc.5 everything works fine and the ext of the python image and the sd come up clean.
Unfortunately if I execute "shutdown -r now" or the reboot gui app, both ext systems come up not clean.
This matches the problem that I had with using a fat on the SD - eventually I would loose files.
On digging into this, I find that "apparently" the real rc.d is in /home/root/etc. This one is readonly and its own rc0.d and rc6.d that have only one entry "halt" and it is the halt in the /home/root/etc/init.d.
So it is my belief that the /etc/rc.d/rc0.d and rc6.d are not being executed at all when using shutdown or the gui app.
Is there a way around this? I can't figure out a way to really figure out what is executed in a power down (specifically on a Zaurus). I find plenty of docs on the specific startup, but not on shut down.
Does anyone have some clues I can follow?