aboutsummaryrefslogtreecommitdiff
path: root/en_US.ISO8859-1/books/handbook/linuxemu
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2013-01-28 19:42:38 +0000
committerEitan Adler <eadler@FreeBSD.org>2013-01-28 19:42:38 +0000
commit7e1c3e60359dcb765ab96c80ec05a5aaf315aa50 (patch)
tree23816367fd65dcd5c4508b939d0347e9e6b0d11a /en_US.ISO8859-1/books/handbook/linuxemu
parent4d031f45b0f28f22bd6491d19d196d4cd2432a3c (diff)
downloaddoc-7e1c3e60359dcb765ab96c80ec05a5aaf315aa50.tar.gz
doc-7e1c3e60359dcb765ab96c80ec05a5aaf315aa50.zip
Prefer the use of service(1) to explicit invocation of /etc/rc.d
scripts: service(1) puts things in one place and abstracts them. Also, it's less typing and easier to autocomplete. While here modernize script examples by removing the ".sh" suffix. Discussed on: -doc Reviewed by: bjk (prior version) Approved by: bcr (mentor)
Notes
Notes: svn path=/head/; revision=40792
Diffstat (limited to 'en_US.ISO8859-1/books/handbook/linuxemu')
-rw-r--r--en_US.ISO8859-1/books/handbook/linuxemu/chapter.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/en_US.ISO8859-1/books/handbook/linuxemu/chapter.xml b/en_US.ISO8859-1/books/handbook/linuxemu/chapter.xml
index fcd730474e..ee33ada712 100644
--- a/en_US.ISO8859-1/books/handbook/linuxemu/chapter.xml
+++ b/en_US.ISO8859-1/books/handbook/linuxemu/chapter.xml
@@ -656,7 +656,7 @@ done</programlisting>
<step><para>Start the license server.</para>
<para>The following script, installed as
- <filename>/usr/local/etc/rc.d/lmgrd.sh</filename> is a
+ <filename>/usr/local/rtc/rc.d/lmgrd</filename> is a
convenient way to start up <command>lmgrd</command>:</para>
<programlisting> ----- snip ------------
@@ -843,7 +843,7 @@ FEATURE Maple maplelmg 2000.0831 permanent 1 XXXXXXXXXXXX \
<step>
<para>Create a startup file at
- <filename>/usr/local/etc/rc.d/flexlm.sh</filename>. The
+ <filename>/usr/local/etc/rc.d/flexlm</filename>. The
example below is a modified version of the distributed
<filename>$MATLAB/etc/rc.lm.glnx86</filename>. The
changes are file locations, and startup of the license
@@ -872,7 +872,7 @@ exit 0</programlisting>
<important>
<para>The file must be made executable:</para>
- <screen>&prompt.root; <userinput>chmod +x /usr/local/etc/rc.d/flexlm.sh</userinput></screen>
+ <screen>&prompt.root; <userinput>chmod +x /usr/local/etc/rc.d/flexlm</userinput></screen>
<para>You must also replace
<replaceable>username</replaceable> above with the name
@@ -884,7 +884,7 @@ exit 0</programlisting>
<step>
<para>Start the license manager with the command:</para>
- <screen>&prompt.root; <userinput>/usr/local/etc/rc.d/flexlm.sh start</userinput></screen>
+ <screen>&prompt.root; <userinput>service flexlm start</userinput></screen>
</step>
</procedure>
</sect2>