module sysctl: Plugin swap-reset

Signed-off-by: Markus Pargmann <mpargmann@allfex.org>
Some fixes

Signed-off-by: Markus Pargmann <mpargmann@allfex.org>