]> ###2026.10.28 - Initial public release - Create, enable, disable and delete a swapfile (xfs, ext4, btrfs) or a ZFS zvol - Autostart after the array start, automatic swapoff before the array stop (also for swapfiles on Unassigned Devices) - Refuses locations the mover would move, keeps 10 GB free on the pool - Optional swap usage history (configurable sampling interval) on the settings page and the dashboard ###2026.10.31 - Settings: swap buttons moved to the end of Swap Settings, Default and Save swappiness in one row, Create, Enable, Disable and Delete in another - Settings: Default in Swap Settings now fills all fields of that section with their default values - Settings and dashboard: bar with the current swap usage below the history graph - Fix: Create while swap is active no longer changes the stored swap settings; before, Disable could get greyed out and a second swap could be enabled, which could hang the array stop - Fix: Enable is refused while a different swap of this plugin is active mkdir -p &bootdir; rm -rf &plugdir; find &bootdir; -mindepth 1 -maxdepth 1 -type d ! -name '&version;' -exec rm -rf {} + exit 0 &raw;/scripts/swapctl.shc25e1eef57d73ea051611d058827bbb63d90117bee6003c3b4ac49cc7a8ce919 &raw;/scripts/sampler.she21cb9fa6bce34593fec780c3674e760c4741515a59fa80eb6ebdab1a06340a5 &raw;/scripts/lib/utils.shd3bbe33498127f25635f89c140f6805284a9e793c485b856bc7ae7e019056754 &raw;/scripts/lib/swapon.sh730449cf514a6bb2a2394e06caa111275ef6b83cc7dad5f659e7d09783d33a91 &raw;/scripts/lib/swapoff.sh4256e0b615d56ab1fa70b8df91a96d9f26aba4d6c91efe2798d2685f0f0f273a &raw;/include/exec.php319f8df622789e6cb5ebf12dba8e7949f936d2294798d5b2fc44508e7a92bdd7 &raw;/include/sparkline.php0a5dea04c8d9a0d2e29fdb47d8e96a2c7cb3110afd4708c716cda4a10c14c6ec &raw;/include/history.js744ee735d61fdacad09dd03843606c0ceb0bab93f88ef143e75da6f6e458c0fc &raw;/default.cfg2261242dfdec25b4528a8364e201a3277249b462e9a0cf82f5749dd26dcc4ac9 &raw;/SwapManager.pagefa1b23b0fabd6bbf0156287a0315bed000963e81ba95276f92ec8b51a61955fe &raw;/SwapManagerDash.page23d55d4f49699cc87f8646600dc0f3bc25d088d8425d5ddd238cbd61bba78033 &raw;/event/disks_mounted05f6864f29b380b1247a8c6c7a09a47e1157503de978a194969d16244f75164a &raw;/event/unmounting_disks06d89070db80a7522a5ca9b389aa1c710012f0e84652bd8adec37d6631f3129d &raw;/event/startedaabb6559c627a15e80719fab5eed9a5523b838843bd81d08b9b1205d87ecd791 &raw;/event/stopping_svcs35350c08a9a4f98d32ca7ecbe8cb690a575b97d2b8eb0ba22013b09c9ba17d12 &raw;/README.mda2b79320f1f9829f32d36910028f64109a316a66a05055df170019455ecaa015 &cache;/swapctl.sh &cache;/sampler.sh &cache;/utils.sh &cache;/swapon.sh &cache;/swapoff.sh &cache;/exec.php &cache;/sparkline.php &cache;/history.js &cache;/default.cfg &cache;/SwapManager.page &cache;/SwapManagerDash.page &cache;/disks_mounted &cache;/unmounting_disks &cache;/started &cache;/stopping_svcs &cache;/README.md /dev/null) [ -n "$pid" ] && grep -qsF sampler.sh /proc/$pid/cmdline && kill $pid find /boot/config/plugins/swap-manager -mindepth 1 -maxdepth 1 -type d -exec rm -rf {} + rm -rf /usr/local/emhttp/plugins/swap-manager /var/lib/swap-manager exit 0 ]]>