r5124 - in trunk: BOOK BOOK/general/sysutils BOOK/introduction/welcome bootscripts bootscripts/blfs/init.d

randy at linuxfromscratch.org randy at linuxfromscratch.org
Fri Sep 30 19:55:19 PDT 2005


Author: randy
Date: 2005-09-30 20:55:17 -0600 (Fri, 30 Sep 2005)
New Revision: 5124

Added:
   trunk/BOOK/general/sysutils/hal.xml
   trunk/bootscripts/blfs/init.d/haldaemon
Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/general/sysutils/sysutils.xml
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/introduction/welcome/credits.xml
   trunk/bootscripts/ChangeLog
   trunk/bootscripts/Makefile
Log:
Added new package HAL-0.5.4

Added: trunk/BOOK/general/sysutils/hal.xml
===================================================================
--- trunk/BOOK/general/sysutils/hal.xml	2005-09-27 13:02:40 UTC (rev 5123)
+++ trunk/BOOK/general/sysutils/hal.xml	2005-10-01 02:55:17 UTC (rev 5124)
@@ -0,0 +1,436 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+   "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+
+  <!ENTITY hal-download-http "http://freedesktop.org/~david/dist/hal-&hal-version;.tar.gz">
+  <!ENTITY hal-download-ftp  "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/hal-&hal-version;.tar.gz">
+  <!ENTITY hal-md5sum        "2f84ddbc22bc35baa9388e7794d1fa31">
+  <!ENTITY hal-size          "1.4 MB">
+  <!ENTITY hal-buildsize     "18.0 MB">
+  <!ENTITY hal-time          "0.5 SBU">
+]>
+
+<sect1 id="hal" xreflabel="HAL-&hal-version;">
+  <?dbhtml filename="hal.html"?>
+
+  <sect1info>
+    <othername>$LastChangedBy$</othername>
+    <date>$Date$</date>
+  </sect1info>
+
+  <title>HAL-&hal-version;</title>
+
+  <indexterm zone="hal">
+    <primary sortas="a-HAL">HAL</primary>
+  </indexterm>
+
+  <sect2 role="package">
+    <title>Introduction to HAL</title>
+
+    <para><application>HAL</application> is a hardware abstraction layer, which
+    is a piece of software that provides a view of the various hardware
+    attached to a system. In addition to this, <application>HAL</application>
+    keeps detailed metadata for each piece of hardware and provides hooks such
+    that system and desktop-level software can react to changes in the hardware
+    configuration in order to maintain system policy. The most important goal
+    of <application>HAL</application> is to provide plug-and-play facilities
+    for UNIX-like desktops with focus on providing a rich and extensible
+    description of device characteristics and features.</para>
+
+    <bridgehead renderas="sect3">Package Information</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>Download (HTTP): <ulink url="&hal-download-http;"/></para>
+      </listitem>
+      <listitem>
+        <para>Download (FTP): <ulink url="&hal-download-ftp;"/></para>
+      </listitem>
+      <listitem>
+        <para>Download MD5 sum: &hal-md5sum;</para>
+      </listitem>
+      <listitem>
+        <para>Download size: &hal-size;</para>
+      </listitem>
+      <listitem>
+        <para>Estimated disk space required: &hal-buildsize;</para>
+      </listitem>
+      <listitem>
+        <para>Estimated build time: &hal-time;</para>
+      </listitem>
+    </itemizedlist>
+
+    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem> 
+        <para>Recommended USB ID list:
+        <ulink url="http://www.linux-usb.org/usb.ids"/></para>
+      </listitem>
+    </itemizedlist>
+
+    <bridgehead renderas="sect3">HAL Dependencies</bridgehead>
+
+    <bridgehead renderas="sect4">Required</bridgehead>
+    <para><xref linkend="dbus"/>,
+    <xref linkend="popt"/> and
+    <xref linkend="perl-xml-parser"/></para>
+
+    <bridgehead renderas="sect4">Recommended</bridgehead>
+    <para><xref linkend="pciutils"/> (with a current
+    <filename>pci.ids</filename> file)</para>
+
+    <bridgehead renderas="sect4">Optional</bridgehead>
+    <para><xref linkend="pkgconfig"/>,
+    <xref linkend="intltool"/>,
+    <xref linkend="libusb"/>,
+    <xref linkend="expat"/>,
+    <xref linkend="python"/>,
+    <ulink url="http://ftp.gnome.org/pub/GNOME/sources/gnome-python/">GNOME-Python</ulink>
+    (run-time requirement to use the <command>hal-device-manager</command> program),
+    <xref linkend="doxygen"/> and
+    <xref linkend="docbook-utils"/></para>
+
+  </sect2>
+
+  <sect2 role="installation">
+    <title>Installation of HAL</title>
+
+    <para>If you downloaded the USB ID list, install it by issuing the
+    following command as the <systemitem class="username">root</systemitem>
+    user:</para>
+
+<screen role="root"><userinput>install -v -m644 ../usb.ids /usr/share</userinput></screen>
+
+    <para>You must create a dedicated user and group for the
+    <application>HAL</application> daemon before installing the package. Issue
+    the following as the <systemitem class="username">root</systemitem>
+    user:</para>
+
+<screen role="root"><userinput>groupadd -g 19 haldaemon &&
+useradd -c "HAL Daemon User" -d /dev/null -u 19 \
+        -g haldaemon -s /bin/false haldaemon</userinput></screen>
+
+    <para>Install <application>HAL</application> by running the following
+    commands:</para>
+
+<screen><userinput>./configure --prefix=/usr \
+            --sysconfdir=/etc \
+            --libexecdir=/usr/sbin \
+            --localstatedir=/var \
+            --enable-fstab-sync \
+            --enable-pcmcia-support &&
+make</userinput></screen>
+
+    <para>This package does not come with a test suite.</para>
+
+    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
+
+<screen role="root"><userinput>make install &&
+install -v -m755 -d /var/run/hald</userinput></screen>
+
+  </sect2>
+
+  <sect2 role="commands">
+    <title>Command Explanations</title>
+
+    <para><parameter>--libexecdir=/usr/sbin</parameter>: This parameter forces
+    the installation of libexec files to
+    <filename class='directory'>/usr/sbin</filename> instead of
+    <filename class='directory'>/usr/libexec</filename>.</para>
+
+    <para><parameter>--localstatedir=/var</parameter>: This parameter forces
+    the creation of the <filename>pid</filename> file to
+    <filename class='directory'>/var/run/hald</filename> instead of
+    <filename class='directory'>/usr/var/run/hald</filename>.</para>
+
+    <para><parameter>--enable-fstab-sync</parameter>: This parameter will
+    ensure the <command>fstab-sync</command> program is built.</para>
+
+    <para><parameter>--enable-pcmcia-support</parameter>: This parameter
+    provides extended PCMCIA support.</para>
+
+  </sect2>
+
+  <sect2 role="configuration">
+    <title>Configuring HAL</title>
+
+    <sect3 id="hal-config">
+      <title>Config Files</title>
+      <para><filename>/etc/dbus-1/system.d/hal.conf</filename> and
+      <filename>/etc/hal/*</filename></para>
+
+      <indexterm zone="hal hal-config">
+        <primary sortas="e-etc-dbus-1-system.d-hal.conf">/etc/dbus-1/system.d/hal.conf</primary>
+      </indexterm>
+
+      <indexterm zone="hal hal-config">
+        <primary sortas="e-etc-hal-star">/etc/hal/*</primary>
+      </indexterm>
+    </sect3>
+
+    <sect3><title>Configuration Information</title>
+
+      <para>Research is underway to determine exactly what configuration is
+      necessary.</para>
+
+<!--
+<screen><userinput>USER CONFIG COMMANDS</userinput></screen>
+
+<screen role="root"><userinput>ROOT CONFIG COMMANDS</userinput></screen>
+
+      <para>Create the file .... for ...</para>
+
+<screen role="root"><userinput>cat >> /PATH/FILENAME << "EOF"
+<literal># Begin FILENAME
+
+TEXT
+
+# End FILENAME</literal>
+EOF</userinput></screen>
+-->
+
+    </sect3>
+
+    <sect3  id="hal-init">
+      <title>Boot Script</title>
+
+      <para>To automatically start the <command>hald</command> daemon
+      when the system is rebooted, install the
+      <filename>/etc/rc.d/init.d/haldaemon</filename>
+      bootscript from the
+      <xref linkend="intro-important-bootscripts"/> package.</para>
+
+      <indexterm zone="hal hal-init">
+        <primary sortas="f-haldaemon">haldaemon</primary>
+      </indexterm>
+
+<screen role="root"><userinput>make install-haldaemon</userinput></screen>
+
+    </sect3>
+
+  </sect2>
+
+  <sect2 role="content">
+    <title>Contents</title>
+
+    <segmentedlist>
+      <segtitle>Installed Programs</segtitle>
+      <segtitle>Installed Libraries</segtitle>
+      <segtitle>Installed Directories</segtitle>
+
+      <seglistitem>
+        <seg>fstab-sync, hal.hotplug, hal-device, hal-device-manager,
+        hal-find-by-capability, hal-find-by-property, hal-get-property,
+        hal-luks-remove, hal-luks-setup, hal-set-property,
+        hal-system-power-hibernate, hal-system-power-set-power-save,
+        hal-system-power-suspend, hald, hald-addon-acpi, hald-addon-hid-ups,
+        hald-addon-pmu, hald-addon-storage, hald-addon-usb-csr,
+        hald-probe-hiddev, hald-probe-input, hald-probe-pc-floppy,
+        hald-probe-printer, hald-probe-smbios, hald-probe-storage,
+        hald-probe-volume and lshal</seg>
+        <seg>libhal.[so,a] and libhal-storage,[so,a]</seg>
+        <seg>/etc/hal, /usr/include/hal, /usr/share/doc/hal-&hal-version;,
+        /usr/share/hal and /var/run/hald</seg>
+      </seglistitem>
+    </segmentedlist>
+
+    <variablelist>
+      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <?dbfo list-presentation="list"?>
+      <?dbhtml list-presentation="table"?>
+
+      <varlistentry id="fstab-sync">
+        <term><command>fstab-sync</command></term>
+        <listitem>
+          <para>updates the file systems table file
+          <filename class='directory'>/etc/fstab</filename> and creates/removes
+          mount points in <filename class='directory'>/media</filename> in
+          response to <application>HAL</application> events. This program is
+          usually never run directly from a shell; instead it is invoked as a
+          callout by the <application>HAL</application> daemon.</para>
+          <indexterm zone="hal fstab-sync">
+            <primary sortas="b-fstab-sync">fstab-sync</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="hal-device">
+        <term><command>hal-device</command></term>
+        <listitem>
+          <para>is used to create, remove or show a
+          <application>HAL</application> device.</para>
+          <indexterm zone="hal hal-device">
+            <primary sortas="b-hal-device">hal-device</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="hal-device-manager">
+        <term><command>hal-device-manager</command></term>
+        <listitem>
+          <para>shows a graphical respresentation of all the devices
+          <application>HAL</application> is aware of. This program requires
+          <application>GNOME-Python</application>.</para>
+          <indexterm zone="hal hal-device-manager">
+            <primary sortas="b-hal-device-manager">hal-device-manager</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="hal-find-by-capability">
+        <term><command>hal-find-by-capability</command></term>
+        <listitem>
+          <para>prints the Unique Device Identifiers for
+          <application>HAL</application> device objects of a given
+          capability.</para>
+          <indexterm zone="hal hal-find-by-capability">
+            <primary sortas="b-hal-find-by-cpability">hal-find-by-capability</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="hal-find-by-property">
+        <term><command>hal-find-by-property</command></term>
+        <listitem>
+          <para>prints the Unique Device Identifiers for
+          <application>HAL</application> device objects where a given property
+          assumes a given value.</para>
+          <indexterm zone="hal hal-find-by-property">
+            <primary sortas="b-hal-find-by-property">hal-find-by-property</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="hal-get-property">
+        <term><command>hal-get-property</command></term>
+        <listitem>
+          <para>retrieves a property from a device.</para>
+          <indexterm zone="hal hal-get-property">
+            <primary sortas="b-hal-get-property">hal-get-property</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="hal-luks-remove">
+        <term><command>hal-luks-remove</command></term>
+        <listitem>
+          <para>is a <application>HAL</application> method wrapper for
+          <command>cryptsetup</command> remove. This program requires <ulink
+          url="http://luks.endorphin.org/dm-crypt">LUKS</ulink>.</para>
+          <indexterm zone="hal hal-luks-remove">
+            <primary sortas="b-hal-luks-remove">hal-luks-remove</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="hal-luks-setup">
+        <term><command>hal-luks-setup</command></term>
+        <listitem>
+          <para>is a <application>HAL</application> method wrapper for
+          <command>luks-setup</command>. This program requires  <ulink
+          url="http://luks.endorphin.org/dm-crypt">LUKS</ulink>.</para>
+          <indexterm zone="hal hal-luks-setup">
+            <primary sortas="b-hal-luks-setup">hal-luks-setup</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="hal-set-property">
+        <term><command>hal-set-property</command></term>
+        <listitem>
+          <para>attempts to set property for a device. Note that, due to
+          security considerations, it may not be possible to set a
+          property.</para>
+          <indexterm zone="hal hal-set-property">
+            <primary sortas="b-hal-set-property">hal-set-property</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="hal-system-power-hibernate">
+        <term><command>hal-system-power-hibernate</command></term>
+        <listitem>
+          <para>is a <application>HAL</application> wrapper script for
+          system power saving features. This program is currently not supported
+          on LFS platforms.</para>
+          <indexterm zone="hal hal-system-power-hibernate">
+            <primary sortas="b-hal-system-power-hibernate">hal-system-power-hibernate</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="hal-system-power-set-power-save">
+        <term><command>hal-system-power-set-power-save</command></term>
+        <listitem>
+          <para>is a <application>HAL</application> wrapper script for
+          system power saving features. This program is currently not supported
+          on LFS platforms.</para>
+          <indexterm zone="hal hal-system-power-set-power-save">
+            <primary sortas="b-hal-system-power-set-power-save">hal-system-power-set-power-save</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="hal-system-power-suspend">
+        <term><command>hal-system-power-suspend</command></term>
+        <listitem>
+          <para>is a <application>HAL</application> wrapper script for
+          system power saving features. This program is currently not supported
+          on LFS platforms.</para>
+          <indexterm zone="hal hal-system-power-suspend">
+            <primary sortas="b-hal-system-power-suspend">hal-system-power-suspend</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="hald">
+        <term><command>hald</command></term>
+        <listitem>
+          <para>is the <application>HAL</application> daemon program.</para>
+          <indexterm zone="hal hald">
+            <primary sortas="b-hald">hald</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="lshal">
+        <term><command>lshal</command></term>
+        <listitem>
+          <para>shows all devices and their properties. If the --monitor option
+          is given then the device list and all devices are monitored for
+          changes.</para>
+          <indexterm zone="hal lshal">
+            <primary sortas="b-lshal">lshal</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="libhal">
+        <term><filename class='libraryfile'>libhal.[so,a]</filename></term>
+        <listitem>
+          <para>contains the API functions required by the
+          <application>HAL</application> programs.</para>
+          <indexterm zone="hal libhal">
+            <primary sortas="c-libhal">libhal.[so,a]</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="libhal-storage">
+        <term><filename class='libraryfile'>libhal-storage.[so,a]</filename></term>
+        <listitem>
+          <para>contains the API functions required by the
+          <application>HAL</application> storage and volume utility
+          programs.</para>
+          <indexterm zone="hal libhal-storage">
+            <primary sortas="c-libhal-storage">libhal-storage.[so,a]</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+
+  </sect2>
+
+</sect1>


Property changes on: trunk/BOOK/general/sysutils/hal.xml
___________________________________________________________________
Name: svn:keywords
   + LastChangedBy Date

Modified: trunk/BOOK/general/sysutils/sysutils.xml
===================================================================
--- trunk/BOOK/general/sysutils/sysutils.xml	2005-09-27 13:02:40 UTC (rev 5123)
+++ trunk/BOOK/general/sysutils/sysutils.xml	2005-10-01 02:55:17 UTC (rev 5124)
@@ -27,5 +27,6 @@
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sysstat.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="apache-ant.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="dbus.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="hal.xml"/>
 
 </chapter>

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2005-09-27 13:02:40 UTC (rev 5123)
+++ trunk/BOOK/general.ent	2005-10-01 02:55:17 UTC (rev 5124)
@@ -1,8 +1,8 @@
-<!ENTITY day          "27">
-<!ENTITY month        "09">
+<!ENTITY day          "01">
+<!ENTITY month        "10">
 <!ENTITY year         "2005">
 <!ENTITY version      "svn-&year;&month;&day;">
-<!ENTITY releasedate  "September &day;th, &year;">
+<!ENTITY releasedate  "October &day;st, &year;">
 <!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
 <!ENTITY blfs-version "svn">                  <!-- svn|[release #] -->
 <!ENTITY lfs-version  "development">          <!-- version|stable|testing|unstable|development] -->
@@ -21,7 +21,7 @@
 <!ENTITY publisher      "Unknown">
 
 
-<!ENTITY blfs-bootscripts-version     "20050927">
+<!ENTITY blfs-bootscripts-version     "20051001">
 <!ENTITY blfs-bootscripts-download    "&downloads-root;/blfs-bootscripts-&blfs-bootscripts-version;.tar.bz2">
 
 <!-- Part II -->

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2005-09-27 13:02:40 UTC (rev 5123)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2005-10-01 02:55:17 UTC (rev 5124)
@@ -42,6 +42,15 @@
 -->
 
     <listitem>
+      <para>October 1st, 2005</para>
+      <itemizedlist>
+        <listitem>
+          <para>[randy] - Added new package HAL-0.5.4.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>September 26th, 2005</para>
       <itemizedlist>
         <listitem>

Modified: trunk/BOOK/introduction/welcome/credits.xml
===================================================================
--- trunk/BOOK/introduction/welcome/credits.xml	2005-09-27 13:02:40 UTC (rev 5123)
+++ trunk/BOOK/introduction/welcome/credits.xml	2005-10-01 02:55:17 UTC (rev 5124)
@@ -219,8 +219,8 @@
         desktop-file-utils, DocBook DSSSL Stylesheets, DocBook-utils, Ethereal,
         Evolution Data Server, Exim (many additions), Expect, FOP, FreeTTS,
         FriBidi, GCC (rewrite), gnome-audio, gnome-backgrounds, gnome-menus,
-        GNOME Doc Utils, GnuCash (many additions), Heimdal, HTML Tidy, JadeTeX,
-        Java Access Bridge, LessTif (rewrite), libexif, libgail-gnome,
+        GNOME Doc Utils, GnuCash (many additions), HAL, Heimdal, HTML Tidy,
+        JadeTeX, Java Access Bridge, LessTif (rewrite), libexif, libgail-gnome,
         libgnomecups, MPlayer (extensive overhaul), Other Programming Tools,
         PDL, Perl Modules, pilot-link, Samba 3 (many additions), Shadow
         (rewrite), SANE (original instructions by Alex Kloss), SLIB, Stunnel,

Modified: trunk/bootscripts/ChangeLog
===================================================================
--- trunk/bootscripts/ChangeLog	2005-09-27 13:02:40 UTC (rev 5123)
+++ trunk/bootscripts/ChangeLog	2005-10-01 02:55:17 UTC (rev 5124)
@@ -1,3 +1,6 @@
+2005-10-01 Randy McMurchy <randy at linuxfromscratch.org>
+	* Added HAL init script and updated Makefile to include a HAL target
+
 2005-09-26 Randy McMurchy <randy at linuxfromscratch.org>
 	* Added D-BUS init script and updated Makefile to include a D-BUS
 	  target

Modified: trunk/bootscripts/Makefile
===================================================================
--- trunk/bootscripts/Makefile	2005-09-27 13:02:40 UTC (rev 5123)
+++ trunk/bootscripts/Makefile	2005-10-01 02:55:17 UTC (rev 5124)
@@ -154,6 +154,16 @@
 	ln -sf  ../init.d/gpm ${EXTDIR}/rc.d/rc5.d/S70gpm
 	ln -sf  ../init.d/gpm ${EXTDIR}/rc.d/rc6.d/K10gpm
 
+install-haldaemon: create-dirs
+	install -m ${MODE} blfs/init.d/haldaemon      ${EXTDIR}/rc.d/init.d/
+	ln -sf  ../init.d/haldaemon ${EXTDIR}/rc.d/rc0.d/K29haldaemon
+	ln -sf  ../init.d/haldaemon ${EXTDIR}/rc.d/rc1.d/K29haldaemon
+	ln -sf  ../init.d/haldaemon ${EXTDIR}/rc.d/rc2.d/S21haldaemon
+	ln -sf  ../init.d/haldaemon ${EXTDIR}/rc.d/rc3.d/S21haldaemon
+	ln -sf  ../init.d/haldaemon ${EXTDIR}/rc.d/rc4.d/S21haldaemon
+	ln -sf  ../init.d/haldaemon ${EXTDIR}/rc.d/rc5.d/S21haldaemon
+	ln -sf  ../init.d/haldaemon ${EXTDIR}/rc.d/rc6.d/K29haldaemon
+
 install-heimdal: create-dirs
 	install -m ${MODE} blfs/init.d/heimdal        ${EXTDIR}/rc.d/init.d/
 	ln -sf  ../init.d/heimdal ${EXTDIR}/rc.d/rc0.d/K42heimdal

Added: trunk/bootscripts/blfs/init.d/haldaemon
===================================================================
--- trunk/bootscripts/blfs/init.d/haldaemon	2005-09-27 13:02:40 UTC (rev 5123)
+++ trunk/bootscripts/blfs/init.d/haldaemon	2005-10-01 02:55:17 UTC (rev 5124)
@@ -0,0 +1,40 @@
+#!/bin/sh
+# Begin $rc_base/init.d/haldaemon
+
+# Based on sysklogd script from LFS-3.1 and earlier.
+# Rewritten by Gerard Beekmans  - gerard at linuxfromscratch.org
+
+#$LastChangedBy$
+#$Date$
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+case "$1" in
+	start)
+		boot_mesg "Starting the HAL Daemon..."
+		loadproc /usr/sbin/hald --retain-privileges
+		;;
+
+	stop)
+		boot_mesg "Stopping the HAL Daemon..."
+		killproc /usr/sbin/hald
+		;;
+
+	restart)
+		$0 stop
+		sleep 1
+		$0 start
+		;;
+
+	status)
+		statusproc /usr/sbin/hald
+		;;
+
+	*)
+		echo "Usage: $0 {start|stop|restart|status}"
+		exit 1
+		;;
+esac
+
+# End $rc_base/init.d/haldaemon


Property changes on: trunk/bootscripts/blfs/init.d/haldaemon
___________________________________________________________________
Name: svn:keywords
   + LastChangedBy Date




More information about the blfs-book mailing list