aboutsummaryrefslogtreecommitdiff
path: root/init.d/swap.in
AgeCommit message (Collapse)Author
2012-02-13Swap: fix redirectWilliam Hubbs
Swap should redirect stdout and stderr from swapon to null and not just stderr.
2012-02-13Improve swap handlingWilliam Hubbs
Modify the swap script so it starts before and stops after localmount. Also, on linux, this script should skip mounting swap on loopback. Add a swapfiles script which runs after localmount and is designed to activate additional swap space which could not be activated before localmount was run. This includes loopback swap on linux and swapfiles which are on local file systems that were not mounted when swap was activated initially. The start code does reactivate swap that is already active, but this is not an error condition. Reported-by: Giampaolo Tomassoni <giampaolo@tomassoni.biz> X-Gentoo-Bug: 401003 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=401003
2012-02-12Fix typo in swap scriptWilliam Hubbs
2011-06-29drop useless "All rights reserved" noticeMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-01-17more whitespace cleanupMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-11-04Add support for Linux Containers, fixes #202.Roy Marples
Patch by bug reporter.
2009-07-01We should use -feature instead of nofeature.Roy Marples
This matches the ifconfig and Gentoo USE flag syntax and is hopefully easier to read. Fixes #178.
2009-05-01Add (c) to CopyrightRoy Marples
2009-04-27Style.Roy Marples
2009-04-19Move special umount of tmpfs to the swap init script where it belongs, #149.Roy Marples
2008-03-04swapctl -t doesn't work on fbsd.Roy Marples
2008-03-03Use swapctl for NetBSD.Roy Marples
2008-03-03Split VPS into VSERVER and OPENVZRoy Marples
2008-03-02Ensure that our scripts call prefixed runscript.Roy Marples
2008-03-02Don't check for root in prefix.Roy Marples