<?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: boot script denomination in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-script-denomination/m-p/2790873#M79657</link>
    <description>Hi Simon:&lt;BR /&gt;&lt;BR /&gt;You should start with '/sbin/init.d/template' *as* the skeletal template for your script.  *Add* your code to it by following the instructions (comments) contained in the template file itself.  The man pages for 'rc' also describe the basic model you should follow in order for your script to reflect its execution in '/etc/rc.log' and on the console checklist correctly.  Pay close attention to the discussion of return codes too.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Wed, 21 Aug 2002 13:15:59 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2002-08-21T13:15:59Z</dc:date>
    <item>
      <title>boot script denomination</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-script-denomination/m-p/2790865#M79649</link>
      <description>Hi everyone!&lt;BR /&gt;I ask for help. I have written a script to boot&lt;BR /&gt;procedure. This script starts after S100nfs.server during the boot and works well.&lt;BR /&gt;I'd like know wich file contains the denomination of this script appeared in the console during boot.&lt;BR /&gt;Now on the console I can see  .......[OK]&lt;BR /&gt;What method me must apply to appear the text?&lt;BR /&gt;Thanks! Regards, Tamas S.</description>
      <pubDate>Wed, 21 Aug 2002 12:45:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/boot-script-denomination/m-p/2790865#M79649</guid>
      <dc:creator>Simon,Tamás</dc:creator>
      <dc:date>2002-08-21T12:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: boot script denomination</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-script-denomination/m-p/2790866#M79650</link>
      <description>You will get more details from these log files:&lt;BR /&gt;/etc/rc.log&lt;BR /&gt;/etc/rc.log.old&lt;BR /&gt;&lt;BR /&gt;Also you can pipe the outputs of the scripts to a file.</description>
      <pubDate>Wed, 21 Aug 2002 12:48:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/boot-script-denomination/m-p/2790866#M79650</guid>
      <dc:creator>Sajid_1</dc:creator>
      <dc:date>2002-08-21T12:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: boot script denomination</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-script-denomination/m-p/2790867#M79651</link>
      <description>Hi Tamas,&lt;BR /&gt;&lt;BR /&gt;You should have two more case statements in your /sbin/init.d script - start_msg and stop_msg that prints the required message. Look at other files in /sbin/init.d/ for more details and syntax.&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Aug 2002 12:48:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/boot-script-denomination/m-p/2790867#M79651</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-08-21T12:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: boot script denomination</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-script-denomination/m-p/2790868#M79652</link>
      <description>Log of all RC scripts startup scripts is /etc/rc.log you can check there to know the status.</description>
      <pubDate>Wed, 21 Aug 2002 12:49:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/boot-script-denomination/m-p/2790868#M79652</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2002-08-21T12:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: boot script denomination</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-script-denomination/m-p/2790869#M79653</link>
      <description>Hi,&lt;BR /&gt;You do this by two different entries in the start/stop script. Example :&lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;case $1 in&lt;BR /&gt;'start_msg')&lt;BR /&gt;        # Emit a _short_ message relating to running this script with&lt;BR /&gt;        # the "start" argument; this message appears as part of the checklist.&lt;BR /&gt;        echo "Starting the Enterprise ControlStation subsystem"&lt;BR /&gt;        ;;&lt;BR /&gt;&lt;BR /&gt;'stop_msg')&lt;BR /&gt;        # Emit a _short_ message relating to running this script with&lt;BR /&gt;        # the "stop" argument; this message appears as part of the checklist.&lt;BR /&gt;        echo "Stopping the Enterprise ControlStation subsystem"&lt;BR /&gt;        ;;&lt;BR /&gt;&lt;BR /&gt;'start')&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;The entries 'start_msg' and 'stop_msg' contain those texts ...&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Tom</description>
      <pubDate>Wed, 21 Aug 2002 12:50:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/boot-script-denomination/m-p/2790869#M79653</guid>
      <dc:creator>Tom Geudens</dc:creator>
      <dc:date>2002-08-21T12:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: boot script denomination</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-script-denomination/m-p/2790870#M79654</link>
      <description>Are you doing something like this:&lt;BR /&gt;&lt;BR /&gt;case $1 in&lt;BR /&gt;&lt;BR /&gt;  start_msg)&lt;BR /&gt;             echo "Start NFS server subsystem"&lt;BR /&gt;             ;;&lt;BR /&gt;&lt;BR /&gt;  stop_msg)&lt;BR /&gt;            echo "Stop NFS server subsystem"&lt;BR /&gt;            ;;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;  start)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Wed, 21 Aug 2002 12:51:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/boot-script-denomination/m-p/2790870#M79654</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-08-21T12:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: boot script denomination</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-script-denomination/m-p/2790871#M79655</link>
      <description>I think that I underderstand your question.&lt;BR /&gt;&lt;BR /&gt;Use a text editor to examine any file in /sbin/init.d. You will notice that in addition to the traditional start) and stop) sections, HP-UX adds start_msg) and stop_msg) sections to the rcN.d files. If you add a start_msg) echo "Starting my stuff"&lt;BR /&gt;           ;;&lt;BR /&gt;to the case statement, you will see the prompt.&lt;BR /&gt;&lt;BR /&gt;The best way to do this is to examine the file&lt;BR /&gt;/sbin/init.d/template.&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Aug 2002 12:54:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/boot-script-denomination/m-p/2790871#M79655</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-08-21T12:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: boot script denomination</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-script-denomination/m-p/2790872#M79656</link>
      <description>As someone else mentioned, your startup needs to be in a case statement, with at least 2 cases.&lt;BR /&gt;case $1 in&lt;BR /&gt;start_msg)&lt;BR /&gt;  echo "Message on boot screen"&lt;BR /&gt;;;&lt;BR /&gt;start)&lt;BR /&gt;  echo "this is the script to run"&lt;BR /&gt;  ;;&lt;BR /&gt;esac&lt;BR /&gt;&lt;BR /&gt;Each script is called 2 times.  First to build a table of start_messages from scripts, then actually running them.  (script return code displayed as OK or FAIL)&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon</description>
      <pubDate>Wed, 21 Aug 2002 12:57:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/boot-script-denomination/m-p/2790872#M79656</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2002-08-21T12:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: boot script denomination</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-script-denomination/m-p/2790873#M79657</link>
      <description>Hi Simon:&lt;BR /&gt;&lt;BR /&gt;You should start with '/sbin/init.d/template' *as* the skeletal template for your script.  *Add* your code to it by following the instructions (comments) contained in the template file itself.  The man pages for 'rc' also describe the basic model you should follow in order for your script to reflect its execution in '/etc/rc.log' and on the console checklist correctly.  Pay close attention to the discussion of return codes too.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 21 Aug 2002 13:15:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/boot-script-denomination/m-p/2790873#M79657</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-08-21T13:15:59Z</dc:date>
    </item>
  </channel>
</rss>

