1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
5 <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
7 D.7. /etc/rc.d/init.d/swap
9 <link rel="stylesheet" href="../stylesheets/lfs.css" type="text/css" />
10 <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
11 <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
12 "text/css" media="print" />
14 <body class="lfs" id="lfs-7.2">
15 <div class="navheader">
17 Linux From Scratch - Version 7.2
20 付録 D. ブートスクリプトと sysconfig スクリプト version-20120901
24 <a accesskey="p" href="apds06.html" title=
25 "/etc/rc.d/init.d/udev">前のページ</a>
31 <a accesskey="n" href="apds08.html" title=
32 "/etc/rc.d/init.d/setclock">次のページ</a>
34 /etc/rc.d/init.d/setclock
38 <a accesskey="u" href="scripts.html" title=
39 "付録 D. ブートスクリプトと sysconfig スクリプト version-20120901">上に戻る</a>
42 <a accesskey="h" href="../index.html" title=
43 "Linux From Scratch - Version 7.2">ホーム</a>
47 <div class="wrap" lang="ja" xml:lang="ja">
49 <a id="swap" name="swap"></a>D.7. /etc/rc.d/init.d/swap
53 ########################################################################
56 # Description : Swap Control Script
58 # Authors : Gerard Beekmans - gerard@linuxfromscratch.org
59 # DJ Lucas - dj@linuxfromscratch.org
60 # Update : Bruce Dubbs - bdubbs@linuxfromscratch.org
64 ########################################################################
68 # Required-Start: udev
69 # Should-Start: modules
70 # Required-Stop: localnet
74 # Short-Description: Mounts and unmounts swap partitions.
75 # Description: Mounts and unmounts swap partitions defined in
77 # X-LFS-Provided-By: LFS
80 . /lib/lsb/init-functions
84 log_info_msg "Activating all swap files/partitions..."
90 log_info_msg "Deactivating all swap files/partitions..."
102 log_success_msg "Retrieving swap status."
107 echo "Usage: ${0} {start|stop|restart|status}"
117 <div class="navfooter">
120 <a accesskey="p" href="apds06.html" title=
121 "/etc/rc.d/init.d/udev">前のページ</a>
123 /etc/rc.d/init.d/udev
127 <a accesskey="n" href="apds08.html" title=
128 "/etc/rc.d/init.d/setclock">次のページ</a>
130 /etc/rc.d/init.d/setclock
134 <a accesskey="u" href="scripts.html" title=
135 "付録 D. ブートスクリプトと sysconfig スクリプト version-20120901">上に戻る</a>
138 <a accesskey="h" href="../index.html" title=
139 "Linux From Scratch - Version 7.2">ホーム</a>