mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-02 05:22:13 +08:00
4e2ef6e52a
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@825 af4574ff-66df-0310-9fd7-8a98e5e911e0
27 lines
894 B
XML
27 lines
894 B
XML
<sect2>
|
|
<title>Installation of daemontools</title>
|
|
|
|
<para>Install daemontools by running the following commands:</para>
|
|
|
|
<para><screen><userinput>patch -Np1 -i ../daemontools-0.76.errno.patch &&
|
|
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 -e 's|/command:/usr/local/bin:/usr/local/sbin:||' \
|
|
-e 's|command|usr/sbin|' \
|
|
-e 's|/service|/etc/service|g' svscanboot > svscanboot~ &&
|
|
mv svscanboot~ svscanboot &&
|
|
chmod 555 svscanboot &&
|
|
cp * /usr/sbin &&
|
|
cd ../package &&
|
|
cat /etc/inittab boot.inittab > /etc/inittab~ &&
|
|
mv -f /etc/inittab~ /etc/inittab &&
|
|
mkdir /etc/service &&
|
|
telinit Q</userinput></screen></para>
|
|
|
|
</sect2>
|
|
|