Author: bdubbs
Date: 2011-11-17 23:13:05 -0700 (Thu, 17 Nov 2011)
New Revision: 8979
Modified:
trunk/BOOK/pst/printing/cups.xml
trunk/bootscripts/blfs/init.d/cups
Log:
Minor cups fixups
Modified: trunk/BOOK/pst/printing/cups.xml
===================================================================
--- trunk/BOOK/pst/printing/cups.xml 2011-11-18 05:40:36 UTC (rev 8978)
+++ trunk/BOOK/pst/printing/cups.xml 2011-11-18 06:13:05 UTC (rev 8979)
@@ -136,7 +136,7 @@
<para>Install <application>CUPS</application> by running the
following commands:</para>
-<screen><userinput>./configure --prefix=/usr
--docdir=/usr/share/doc/cups-&cups-version; &&
+<screen><userinput>./configure --prefix=/usr &&
make</userinput></screen>
<para>To test the results, issue: <command>make check</command>. This will
@@ -147,14 +147,18 @@
<para>Now, as the <systemitem class="username">root</systemitem>
user:</para>
-<screen role="root"><userinput>make install</userinput></screen>
+<screen role="root"><userinput>make install &&
+mv -v /usr/share/doc/cups
/usr/share/doc/cups-&cups-version;</userinput></screen>
<para>The <application>man</application> files are installed in compressed
(<filename class='extension'>.gz</filename>) format. If desired, use the
- following commands to uncompress them:</para>
+ following commands to uncompress them as the
+ <systemitem class="username">root</systemitem> user:</para>
-<screen role="root"><userinput>find -name \*gz -type l -delete
&&
+<screen role="root"><userinput>pushd /usr/share/man/
&&
+find -name cups\*gz -type l -print -delete &&
find -name \*gz -exec gunzip -v {} \; &&
+popd &&
ln -v -s cupsaccept.8 /usr/share/man/man8/reject.8 &&
ln -v -s cupsaccept.8 /usr/share/man/man8/cupsreject.8 &&
@@ -170,7 +174,7 @@
LFS systems. <application>CUPS</application> files are placed in
<filename
class="directory">/usr/{bin,include,lib,sbin,share/cups}</filename>,
<filename class="directory">/var/{cache,log,run,spool}</filename>, and
- <filename
class="directory">/etc/{cups,pam.d,dbus-1/system.d</filename></para>
+ <filename
class="directory">/etc/{cups,pam.d,dbus-1/system.d}</filename></para>
</sect2>
Modified: trunk/bootscripts/blfs/init.d/cups
===================================================================
--- trunk/bootscripts/blfs/init.d/cups 2011-11-18 05:40:36 UTC (rev 8978)
+++ trunk/bootscripts/blfs/init.d/cups 2011-11-18 06:13:05 UTC (rev 8979)
@@ -29,38 +29,38 @@
#$Date$
case $1 in
- start)
- log_info_msg "Starting CUPS Printserver..."
- start_daemon /usr/sbin/cupsd
+ start)
+ log_info_msg "Starting CUPS Printserver..."
+ start_daemon /usr/sbin/cupsd
evaluate_retval
- ;;
+ ;;
- stop)
- log_info_msg "Stopping CUPS Printserver..."
- killproc /usr/sbin/cupsd
+ stop)
+ log_info_msg "Stopping CUPS Printserver..."
+ killproc /usr/sbin/cupsd
evaluate_retval
- ;;
+ ;;
- reload)
- log_info_msg "Reloading CUPS Printserver..."
- killproc /usr/sbin/cupsd -HUP
+ reload)
+ log_info_msg "Reloading CUPS Printserver..."
+ killproc /usr/sbin/cupsd -HUP
evaluate_retval
- ;;
+ ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
+ restart)
+ $0 stop
+ sleep 1
+ $0 start
+ ;;
- status)
- statusproc /usr/sbin/cupsd
- ;;
+ status)
+ statusproc /usr/sbin/cupsd
+ ;;
- *)
- echo "Usage: $0 {start|stop|reload|restart|status}"
- exit 1
- ;;
+ *)
+ echo "Usage: $0 {start|stop|reload|restart|status}"
+ exit 1
+ ;;
esac
# End /etc/init.d/cups
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page