diff options
author | Jeremy Utley <jeremy@linuxfromscratch.org> | 2004-09-23 17:48:20 +0000 |
---|---|---|
committer | Jeremy Utley <jeremy@linuxfromscratch.org> | 2004-09-23 17:48:20 +0000 |
commit | 84ba73a7b604f4762e42023416162c4e40afa97b (patch) | |
tree | e3c74ac2d93403a18dc9b79a6451634a2200218e /chapter06/hotplug.xml | |
parent | d76fe248206a18061bc36c8ff1a357ad8838fad9 (diff) |
Added a sed to fix hotplug's syntax error in isapnp.rc, also completed Jim's integration of the new util-linux patch.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4198 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/hotplug.xml')
-rw-r--r-- | chapter06/hotplug.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chapter06/hotplug.xml b/chapter06/hotplug.xml index a702f43a0..620ca9fe2 100644 --- a/chapter06/hotplug.xml +++ b/chapter06/hotplug.xml @@ -28,6 +28,12 @@ boot and inserts the relevant modules into the running kernel. <sect2 role="installation"> <title>Installation of Hotplug</title> +<para>The isapnp.rc script included with hotplug has a minor syntax error, +using return 0 outside a function definition where exit 0 should be used. +The following command fixes this:</para> + +<screen><userinput>sed -i "s/|| return 0/|| exit 0/g" etc/hotplug/isapnp.rc</userinput></screen> + <para>Install the Hotplug package:</para> <screen><userinput>make install</userinput></screen> |