<?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: Where to put startup script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/where-to-put-startup-script/m-p/2469763#M775119</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d is the correct place to put the script but you will also have to add a symbolic link (not a hard link) pointing to the script in /sbin/rc2.d.&lt;BR /&gt;&lt;BR /&gt;The symbolic link name is important.  It should be in the form  SxxxScriptName.  The S causes the script to run when the runlevel is entered from a lower runlevel.  The xxx is a 3 digit number that indicates when the script should be run relative to the other scripts.  Make sure your script is run after the net script has executed.  ScriptName will typically match what the script name in /sbin/init.d.&lt;BR /&gt;&lt;BR /&gt;Let me know if this helps or if you need more information.&lt;BR /&gt;&lt;BR /&gt;  --Bruce</description>
    <pubDate>Fri, 01 Dec 2000 20:46:09 GMT</pubDate>
    <dc:creator>Bruce Regittko_1</dc:creator>
    <dc:date>2000-12-01T20:46:09Z</dc:date>
    <item>
      <title>Where to put startup script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/where-to-put-startup-script/m-p/2469761#M775117</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have a script that I want to add when the system starts to add static routes. It reads a config file which contains the routes. This file is maintained by a non-root person. Will the file be run if it is placed in the /sbin/init.d directory? I tried adding the static routes to /etc/rc.confid.d/netconf file but the addition routes don't get added because /etc/rc.log file says routes where attemped to be added before the interface was up.&lt;BR /&gt;&lt;BR /&gt;Tnx,&lt;BR /&gt;&lt;BR /&gt;Mike&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Dec 2000 20:36:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/where-to-put-startup-script/m-p/2469761#M775117</guid>
      <dc:creator>Mike ONeal</dc:creator>
      <dc:date>2000-12-01T20:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: Where to put startup script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/where-to-put-startup-script/m-p/2469762#M775118</link>
      <description>Mike, your script should run after /sbin/rc2.d/S340net  so place the file in /sbin/init.d and create a soft link in the /sbin/rc2.d directory with a name that begins with SXXXyourscript  where XXX is greater than 340.&lt;BR /&gt;&lt;BR /&gt;read the information in /usr/share/doc/start_up.txt about startup scripts.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Dec 2000 20:45:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/where-to-put-startup-script/m-p/2469762#M775118</guid>
      <dc:creator>Kofi ARTHIABAH</dc:creator>
      <dc:date>2000-12-01T20:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: Where to put startup script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/where-to-put-startup-script/m-p/2469763#M775119</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d is the correct place to put the script but you will also have to add a symbolic link (not a hard link) pointing to the script in /sbin/rc2.d.&lt;BR /&gt;&lt;BR /&gt;The symbolic link name is important.  It should be in the form  SxxxScriptName.  The S causes the script to run when the runlevel is entered from a lower runlevel.  The xxx is a 3 digit number that indicates when the script should be run relative to the other scripts.  Make sure your script is run after the net script has executed.  ScriptName will typically match what the script name in /sbin/init.d.&lt;BR /&gt;&lt;BR /&gt;Let me know if this helps or if you need more information.&lt;BR /&gt;&lt;BR /&gt;  --Bruce</description>
      <pubDate>Fri, 01 Dec 2000 20:46:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/where-to-put-startup-script/m-p/2469763#M775119</guid>
      <dc:creator>Bruce Regittko_1</dc:creator>
      <dc:date>2000-12-01T20:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: Where to put startup script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/where-to-put-startup-script/m-p/2469764#M775120</link>
      <description>Hi,&lt;BR /&gt;Copy any script from /sbin/init.d and change according to your requirment, after that put your script in /sbin/init.d and /etc/rc.config.d and link ( Symbolic ) into /sbin/rc2.d as S??????. The script name will start with S.&lt;BR /&gt;&lt;BR /&gt;rgds.&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Mon, 04 Dec 2000 06:28:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/where-to-put-startup-script/m-p/2469764#M775120</guid>
      <dc:creator>Mr Amir Mujtabain</dc:creator>
      <dc:date>2000-12-04T06:28:34Z</dc:date>
    </item>
  </channel>
</rss>

