Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Like many here, I've installed the USB drive support on my DNS-323. The wiki recommends manually unmounting the USB drive before rebooting or powering down the unit just in case it's not done automatically. My question is, couldn't I simply add the "umount" command to a shutdown script that is executed whenever the "Reboot" button is clicked in the Web UI? I'm assuming, of course, that there is such a script already defined that can be edited?
Thanks
cinergi
Offline
Could the command be linked to pressing the blue button on the front, so you dont have to login to your computer to unmount the drive?
Offline
I was thinking about that myself - I started doing that myself, recently.
It's a bit more involved than that, if the mounted file-system is being used. Simply umount-ing will probably won't be enough.
Some resources on the subject I found here:
cleanboot is a good place to start.
And this thread, about SAFE shutdown using power button through Cleanboot.
Offline
...And there's João's chkbutton2: http://dns323.kood.org/forum/viewtopic.php?id=4420
Offline
Thanks, I first set up cleanboot as per the wiki, then created my own custom reboot script:
#!/bin/sh
pkill twonky (so that I can unmount the USB drive that twonky runs on)
umount /dev/HD_a2/usb_1
reboot (which takes care of unmounting the HDDs using cleanboot)
... and that's it!
On a related topic, I scanned my disks using fsck because I had been rebooting my DNS-323 without cleanboot installed. I used the method at http://www.inreto.de/dns323/fsck/. It worked fine until I rebooted from the custom ramdisk kernel back to the standard one - the unit just hung and I couldn't even use the power button (I had to physically power-cycle it). After power-cycling all was well. I wonder why the reboot command didn't work? If it makes a difference, I don't have bash installed so I used the no_bash version of the fsck script.
Thanks to all
cinergi
Offline
When I wget cleanboot, and then funpkg -i, it says:
Skipping cleanboot-2.1-ffp05.tgz (installed: cleanboot-2.1-ffp05.tgz)
But there's no /ffp/start/cleanboot.sh? I even tried funpkg -r cleanboot-2.1-ffp-5.tgz and it said it Removed it. But when I install again it still says "Skipping..."
And it's not running in top or ps. Where do I find it and how do I start it?
Any ideas how to get it installed?
Offline