<?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: script/command execution at booting in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/script-command-execution-at-booting/m-p/4370439#M347281</link>
    <description>Just a remark&lt;BR /&gt;don't use or don't start application which are using socket/netstat before &lt;BR /&gt;/sbin/rc2.d/S008net.init</description>
    <pubDate>Tue, 03 Mar 2009 16:57:32 GMT</pubDate>
    <dc:creator>Laurent Menase</dc:creator>
    <dc:date>2009-03-03T16:57:32Z</dc:date>
    <item>
      <title>script/command execution at booting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-command-execution-at-booting/m-p/4370433#M347275</link>
      <description>I have script/command and i want this script/command needs to be invoked at HP-UX booting (everytime when HP-UX boots).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In which file i can put the command/script in HP-UX ?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Mar 2009 10:52:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-command-execution-at-booting/m-p/4370433#M347275</guid>
      <dc:creator>shashi kanth</dc:creator>
      <dc:date>2009-03-03T10:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: script/command execution at booting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-command-execution-at-booting/m-p/4370434#M347276</link>
      <description>Please see&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.docs.hp.com/en/934/startup.pdf" target="_blank"&gt;http://www.docs.hp.com/en/934/startup.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;unchanged since hp-ux 10.x</description>
      <pubDate>Tue, 03 Mar 2009 11:00:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-command-execution-at-booting/m-p/4370434#M347276</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2009-03-03T11:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: script/command execution at booting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-command-execution-at-booting/m-p/4370435#M347277</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Copy your script to /sbin/init.d/ directory and set execute permission. Then create symbolic link in the appropriate run level RC directory to this script. For eg. the script name is "myscript.sh" and I want that to run on run level 3. Then I would do the following.&lt;BR /&gt;&lt;BR /&gt;#cp myscript.sh /sbin/init.d&lt;BR /&gt;#chmod 755 /sbin/init.d/myscript.sh&lt;BR /&gt;#cd /sbin/rc3.d&lt;BR /&gt;#ln -s /sbin/init.d/myscript.sh S101myscript.sh (the number 101 is the sequence number, you can change it any number).&lt;BR /&gt;#cd /sbin/r2.d&lt;BR /&gt;#ln -s /sbin/init.d/myscript.sh K899myscript.sh (the number 899 is the sequence number, you can change it to any number).&lt;BR /&gt;&lt;BR /&gt;remember to test your script before adding to these directories, else your system may not boot correctly.&lt;BR /&gt;&lt;BR /&gt;Good luck&lt;BR /&gt;Shahul</description>
      <pubDate>Tue, 03 Mar 2009 11:55:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-command-execution-at-booting/m-p/4370435#M347277</guid>
      <dc:creator>Shahul</dc:creator>
      <dc:date>2009-03-03T11:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: script/command execution at booting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-command-execution-at-booting/m-p/4370436#M347278</link>
      <description>You could also check how the inittab file works, this can be handy for things that need to be running from boot time.</description>
      <pubDate>Tue, 03 Mar 2009 12:24:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-command-execution-at-booting/m-p/4370436#M347278</guid>
      <dc:creator>Mark McDonald_2</dc:creator>
      <dc:date>2009-03-03T12:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: script/command execution at booting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-command-execution-at-booting/m-p/4370437#M347279</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;The whitepaper Torsten cited is probably the best discussion.  You can also see a virtual summary in the manpages for 'rc(1M)'.  You will note from those manpages that a return code of &amp;lt;4&amp;gt; and greater is defined.  This was not described in the original paper.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 03 Mar 2009 12:35:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-command-execution-at-booting/m-p/4370437#M347279</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-03-03T12:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: script/command execution at booting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-command-execution-at-booting/m-p/4370438#M347280</link>
      <description>Two more things.&lt;BR /&gt;&lt;BR /&gt;1. You can prepare a file under /etc/rc.config.d/ to switch on and off the start up scripts.&lt;BR /&gt;&lt;BR /&gt;2. The K and S number should have the sum of 1000. So if the start up file is S911 then the shutdown number should be K089.</description>
      <pubDate>Tue, 03 Mar 2009 15:00:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-command-execution-at-booting/m-p/4370438#M347280</guid>
      <dc:creator>Tingli</dc:creator>
      <dc:date>2009-03-03T15:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: script/command execution at booting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-command-execution-at-booting/m-p/4370439#M347281</link>
      <description>Just a remark&lt;BR /&gt;don't use or don't start application which are using socket/netstat before &lt;BR /&gt;/sbin/rc2.d/S008net.init</description>
      <pubDate>Tue, 03 Mar 2009 16:57:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-command-execution-at-booting/m-p/4370439#M347281</guid>
      <dc:creator>Laurent Menase</dc:creator>
      <dc:date>2009-03-03T16:57:32Z</dc:date>
    </item>
  </channel>
</rss>

