PeterPawn / modfs

modify firmware for NAND-flash based FRITZ!Box routers and install it on such a device
GNU General Public License v2.0
62 stars 15 forks source link

provide a modscript to ensure proper deinitialization #12

Closed PeterPawn closed 8 years ago

PeterPawn commented 8 years ago

... of mounted volumes, even for filesystem images mounted via loop device from an USB volume and swap space from USB devices, while the USB subsystem is to be stopped

PeterPawn commented 8 years ago

added some "swapoff" calls to /etc/hotplug/storage (and usb.pandu) to restore swapped-out pages prior to stopping the whole USB subsystem or eject a single USB device - the result is the new script "mod_swapoff" available in 0.3.5