Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Pages: 1
When I login to the firmware web page and select restart or shutdown from the systems page what scripts are executed?
Reason for asking - I have chroot debain running on a USB stick(s). I would like to echo a few umount commands for the USB drives into the restart/shutdown scripts BEFORE chroot runs. I would hope this would keep the ext2 and swap file systems on the flash drives healthy.
Offline
there is written a file to /tmp/ think its named shutdown and after there i guess that one of the processes checks after it and acts after that.
Offline
I see in /sbin there are two binary files /sbin/reboot (linked to /sbin/halt) and /sbin/shutdown. Both are binaries (cat file shows weird characters, no plain text). Guess there arent any scripts that I can add a few lines to? An alternative would be to use ffp BEFORE I chroot to run e2fsk on the root and rtorrent partitions, also could mkswap to ensure swap is not currupted. Finally, it might not be a bad idea to copy the entire contents of the root partition to the hard drive before it is chroot'd. I've heard the USB diks use some sort of UDP communication and are prone to errors. Having a few known good copies of previous directory structures would be helpful.
Ideally, gracefully unmounting the partitions /dev/sdc1 /dev/sdc2 and swap /dev/sdd1 would be the best solution.
Anyone know what the ffp script do_reboot does?? (just thinking out load) This might offer some clues how to circumvent the binary files used by the DNS 323.
I'll load up ffp and take a look at the scripts it used, and poke around some more.
Offline
Pages: 1