mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-07 09:37:17 +08:00
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3 af4574ff-66df-0310-9fd7-8a98e5e911e0
23 lines
795 B
XML
23 lines
795 B
XML
<sect2>
|
|
<title>Installation of daemontools</title>
|
|
|
|
<para>Install daemontools by running the following commands:</para>
|
|
|
|
<para><screen><userinput>cd admin/daemontools-0.76 &&
|
|
package/compile &&
|
|
cd package &&
|
|
sed 's|command|usr/sbin|' boot.inittab > boot.inittab~ &&
|
|
mv boot.inittab~ boot.inittab &&
|
|
cd ../command &&
|
|
sed 's|/command:/usr/local/bin:/usr/local/sbin:||' svscanboot > svscanboot~ &&
|
|
sed 's|/service|/etc/service|g' svscanboot~ > svscanboot &&
|
|
rm svscanboot~ &&
|
|
cp * /usr/sbin &&
|
|
cd ../package &&
|
|
cat /etc/inittab boot.inittab > /etc/inittab~ &&
|
|
mv -f /etc/inittab~ /etc/inittab &&
|
|
telinit Q &&
|
|
mkdir /etc/service</userinput></screen></para>
|
|
</sect2>
|
|
|