Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 35840 Details for
Bug 57786
Ebuild for swapd
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
files/swapd.init.d
swapd.init.d (text/plain), 738 bytes, created by
John Richard Moser
on 2004-07-20 15:52:43 UTC
(
hide
)
Description:
files/swapd.init.d
Filename:
MIME Type:
Creator:
John Richard Moser
Created:
2004-07-20 15:52:43 UTC
Size:
738 bytes
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2003 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 > >depend() { > need bootmisc >} > >set_vars() { > SWAPD_PID=/var/run/swapd.pid >} > >start() { > set_vars > > ebegin "Starting swapd" > #/usr/sbin/swapd --config /etc/swapd.conf > /usr/sbin/swapd --memlimit ${memlimit} \ > --pause ${pause} \ > --maxswaps ${maxswaps} \ > --timeout ${timeout} \ > --swapdir ${swapdir} \ > --pidfile ${pidfile} \ > --mkswap ${mkswap} \ > --minswapsize ${minswapsize} \ > --maxswapsize ${maxswapsize} > eend $? > return $? >} > ># Force kill >stop() { > set_vars > ebegin "Stopping swapd" > if [ -f ${SWAPD_PID} ]; then > kill `cat ${SWAPD_PID}` && \ > rm -f ${SWAPD_PID} > fi > eend $? > return 0 >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 57786
:
35838
|
35839
| 35840 |
45341