summaryrefslogtreecommitdiff
path: root/init.d/swap.in
Commit message (Collapse)AuthorAge
* Remove prefix supportopenrc-0.9.9William Hubbs2012-02-21
| | | | | I spoke with the prefix team sometime back and was told that they do not have an interest in using OpenRC on prefix systems.
* Revert "Revert "swap: go back to using swapon for Linux systems""William Hubbs2012-02-20
| | | | | | This reverts commit 06d67017850e106f14d8948003027612253b143a. After researching this further, we do need this commit. The other issue is a bug in fstabinfo which will also need to be fixed.
* Revert "swap: go back to using swapon for Linux systems"William Hubbs2012-02-20
| | | | | | This reverts commit 297720787f914ca34f2d04c66980c18c57700865. robbat2 tells me there is a better way to fix this.
* swap: go back to using swapon for Linux systemsWilliam Hubbs2012-02-20
| | | | | | | | | | | | | There are several reasons for going back to this: - fstabinfo doesn't work with labels in fstab - when a device is passed to swapon individually, the swap priority from fstab is not honored. - We also add the -e option to only activate available swap devices. reported-by: Duncan <1i5t5.duncan@cox.net> X-Gentoo-Bug: 405021 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=405021
* Swap: fix redirectWilliam Hubbs2012-02-13
| | | | | Swap should redirect stdout and stderr from swapon to null and not just stderr.
* Improve swap handlingWilliam Hubbs2012-02-13
| | | | | | | | | | | | | | | | | | 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
* Fix typo in swap scriptWilliam Hubbs2012-02-12
|
* drop useless "All rights reserved" noticeMike Frysinger2011-06-29
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* more whitespace cleanupMike Frysinger2011-01-17
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Add support for Linux Containers, fixes #202.Roy Marples2009-11-04
| | | | Patch by bug reporter.
* We should use -feature instead of nofeature.Roy Marples2009-07-01
| | | | | | This matches the ifconfig and Gentoo USE flag syntax and is hopefully easier to read. Fixes #178.
* Add (c) to CopyrightRoy Marples2009-05-01
|
* Style.Roy Marples2009-04-27
|
* Move special umount of tmpfs to the swap init script where it belongs, #149.Roy Marples2009-04-19
|
* swapctl -t doesn't work on fbsd.Roy Marples2008-03-04
|
* Use swapctl for NetBSD.Roy Marples2008-03-03
|
* Split VPS into VSERVER and OPENVZRoy Marples2008-03-03
|
* Ensure that our scripts call prefixed runscript.Roy Marples2008-03-02
|
* Don't check for root in prefix.Roy Marples2008-03-02