<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Shutdown script link naming ? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-script-link-naming/m-p/2827446#M87983</link>
    <description>Thank you all for your responses.  I feel much more confortable about the naming now.&lt;BR /&gt;&lt;BR /&gt;Regards,</description>
    <pubDate>Thu, 17 Oct 2002 15:02:37 GMT</pubDate>
    <dc:creator>Jeff Zabel</dc:creator>
    <dc:date>2002-10-17T15:02:37Z</dc:date>
    <item>
      <title>Shutdown script link naming ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-script-link-naming/m-p/2827442#M87979</link>
      <description>OK, I'm a little confused with the whole linking process. I know how to link the files. But the thing I'm not to sure about is can I have 2 or more links with S900 and 2 or more links with K100. Let me give an example of my potential configuration:&lt;BR /&gt;&lt;BR /&gt;STARTUP/SHUTDOWN SCRIPT #1: &lt;BR /&gt;&lt;BR /&gt;SCRIPT NAME: APP1&lt;BR /&gt;&lt;BR /&gt;START LINK: /sbin/init.d/app1 /sbin/rc3.d/S900app1&lt;BR /&gt;&lt;BR /&gt;STOP LINK:&lt;BR /&gt;/sbin/init.d/app1 /sbin/rc3.d/K100app1&lt;BR /&gt;&lt;BR /&gt;SCRIPT NAME: APP2&lt;BR /&gt;&lt;BR /&gt;START LINK: /sbin/init.d/app2 /sbin/rc3.d/S900app2&lt;BR /&gt;&lt;BR /&gt;STOP LINK:&lt;BR /&gt;/sbin/init.d/app1 /sbin/rc3.d/K100app2&lt;BR /&gt;&lt;BR /&gt;please notice that my question pretains to the sequence number being identical. Will this be a problem.  Thanks in advanced (hopefully this makes sense)&lt;BR /&gt;Regards,</description>
      <pubDate>Wed, 16 Oct 2002 22:21:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-script-link-naming/m-p/2827442#M87979</guid>
      <dc:creator>Jeff Zabel</dc:creator>
      <dc:date>2002-10-16T22:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: Shutdown script link naming ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-script-link-naming/m-p/2827443#M87980</link>
      <description>Hi Jeff,&lt;BR /&gt;&lt;BR /&gt;As long as they differ, they're OK. Scripts are ran alphabatically. IF you need one to start AFTER another they would have to be alphabetically arranged that way. BUT you can always change the digits somewhat.&lt;BR /&gt;&lt;BR /&gt;Like S900app1 &amp;amp; K100app1  THEN  S920app2 &amp;amp; K080app2 - app2 will start after &amp;amp; stop before app1&lt;BR /&gt;It's good that you're respecting the rule of 1000. And that's to insure proper start/stop order. &lt;BR /&gt;&lt;BR /&gt;AND REMEMBER that if you start it in run-level 3 (/sbin/rc3.d) you should stop it it run-level 2 (/sbin/rc2.d) on the way down. Always stop one level lower than start.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Wed, 16 Oct 2002 22:33:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-script-link-naming/m-p/2827443#M87980</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2002-10-16T22:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: Shutdown script link naming ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-script-link-naming/m-p/2827444#M87981</link>
      <description>Hi Jeff,&lt;BR /&gt;&lt;BR /&gt;To answer your question: yes, you can use the same prefix for multiple links.  S900app1 will run before S900app2.  As Jeff says, the scripts are run in alphabetical order.  If you need app2 to run before app1, then obviously you will have to change the name of the links.&lt;BR /&gt;&lt;BR /&gt;It is easier to determine the order if you use different numbers, however it is not a requirement.&lt;BR /&gt;&lt;BR /&gt;Let me also echo what Jeff says about the placement of the start and stop scripts.  The stop script needs to be in a run level that is less than the start script.  Generally, that will be one run level less.&lt;BR /&gt;&lt;BR /&gt;Darrell</description>
      <pubDate>Thu, 17 Oct 2002 13:32:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-script-link-naming/m-p/2827444#M87981</guid>
      <dc:creator>Darrell Allen</dc:creator>
      <dc:date>2002-10-17T13:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: Shutdown script link naming ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-script-link-naming/m-p/2827445#M87982</link>
      <description>I suppose to be ultra-nit-picky, 'alphabetical' should be amended to 'lexical' order. As has been stated, the SNNN value + the Knnn value should equal 1000 but that is simply convention.&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Oct 2002 13:39:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-script-link-naming/m-p/2827445#M87982</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-10-17T13:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: Shutdown script link naming ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-script-link-naming/m-p/2827446#M87983</link>
      <description>Thank you all for your responses.  I feel much more confortable about the naming now.&lt;BR /&gt;&lt;BR /&gt;Regards,</description>
      <pubDate>Thu, 17 Oct 2002 15:02:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-script-link-naming/m-p/2827446#M87983</guid>
      <dc:creator>Jeff Zabel</dc:creator>
      <dc:date>2002-10-17T15:02:37Z</dc:date>
    </item>
  </channel>
</rss>

