Changeset 1f77bc8 for pst/printing/lprng/lprng-config.xml
- Timestamp:
- 02/22/2003 09:21:43 PM (21 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, v1_0, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 36a88bd
- Parents:
- dddd897
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pst/printing/lprng/lprng-config.xml
rdddd897 r1f77bc8 13 13 <ulink url="http://www.lprng.org"/> and <ulink 14 14 url="http://www.linuxprinting.org"/>.</para> 15 16 <para>The init script installed by LPRng is not consistent with BLFS 17 scripts; therefore, we will create a new one with the following 18 commands:</para> 19 20 <para><screen><userinput>mv /etc/rc.d/init.d/lpd /etc/rc.d/init.d/lpd.orig && 21 cat > /etc/rc.d/init.d/lpd << "EOF"</userinput> 22 #!/bin/sh 23 # Begin $rc_base/init.d/lpd 24 25 # Based on sysklogd script from LFS-3.1 and earlier. 26 # Rewritten by Gerard Beekmans - gerard@linuxfromscratch.org 27 28 source /etc/sysconfig/rc 29 source $rc_functions 30 31 case "$1" in 32 start) 33 echo "Starting lpd..." 34 loadproc /usr/sbin/lpd 35 ;; 36 37 stop) 38 echo "Stopping lpd..." 39 killproc /usr/sbin/lpd 40 ;; 41 42 reload) 43 echo "Reloading lpd..." 44 reloadproc /usr/sbin/lpd 45 ;; 46 47 restart) 48 $0 stop 49 sleep 1 50 $0 start 51 ;; 52 53 status) 54 statusproc /usr/sbin/lpd 55 ;; 56 57 *) 58 echo "Usage: $0 {start|stop|reload|restart|status}" 59 exit 1 60 ;; 61 esac 62 63 # End $rc_base/init.d/lpd 64 <userinput>EOF 65 chmod 755 /etc/rc.d/init.d/lpd</userinput></screen></para> 15 66 16 67 <para>Create the symbolic links to the lprng init script in the relevant
Note:
See TracChangeset
for help on using the changeset viewer.