Changeset 98d18589 for basicnet/netprogs/portmap
- Timestamp:
- 03/27/2004 07:16:16 AM (20 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, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 12929fb
- Parents:
- a58b896
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
basicnet/netprogs/portmap/portmap-config.xml
ra58b896 r98d18589 6 6 </sect3> 7 7 8 <sect3><title> Create the <command>portmap</command> boot script</title>8 <sect3><title>Boot script</title> 9 9 10 <screen><userinput><command>cat > /etc/rc.d/init.d/portmap << "EOF"</command> 11 #!/bin/sh 12 # Begin /etc/rc.d/init.d/portmap 13 14 . /etc/rc.d/init.d/functions 15 16 case "$1" in 17 start) 18 echo "Starting RPC Portmap" 19 loadproc /sbin/portmap 20 ;; 21 22 stop) 23 echo "Stopping Portmap" 24 killproc /sbin/portmap 25 ;; 26 27 restart) 28 $0 stop 29 /bin/sleep 1 30 $0 start 31 ;; 32 33 *) 34 echo "Usage: $0 {start|stop|restart}" 35 exit 1 36 ;; 37 38 esac 39 40 # End /etc/rc.d/init.d/portmap 41 <command>EOF 42 chmod 754 /etc/rc.d/init.d/portmap && 43 cd /etc/rc.d/init.d && 44 ln -sf ../init.d/portmap ../rc0.d/K49portmap && 45 ln -sf ../init.d/portmap ../rc1.d/K49portmap && 46 ln -sf ../init.d/portmap ../rc2.d/K49portmap && 47 ln -sf ../init.d/portmap ../rc3.d/S22portmap && 48 ln -sf ../init.d/portmap ../rc4.d/S22portmap && 49 ln -sf ../init.d/portmap ../rc5.d/S22portmap && 50 ln -sf ../init.d/portmap ../rc6.d/K49portmap</command></userinput></screen> 10 <para>Install the <filename>/etc/rc.d/init.d/portmap</filename> 11 init script included in the 12 <xref linkend="intro-important-bootscripts"/> package.</para> 13 14 <screen><userinput><command>make install-portmap</command></userinput></screen> 51 15 52 16 </sect3>
Note:
See TracChangeset
for help on using the changeset viewer.