Changes:
- clean up leftover swapfiles after unexpected reboots
- also works if no swap is configured
PR: ports/169467
Submitted by: freebsd@nagilum.org (maintainer)
Approved by: crees (mentor)
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().
In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
This port attempts to monitor swap usage and dynamically add a swapfile as
neccessary.
PR: ports/148711
Submitted by: Alexander Kuehn <freebsd@nagilum.org>
Approved by: wxs (mentor)