<?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: Best Method To Run A Script On Gateway Boot? in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Best-Method-To-Run-A-Script-On-Gateway-Boot/m-p/238327#M92901</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I need a to run a script at Startup from the checkpoint.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My script has more than one line. What is the best way for this?&amp;nbsp;&lt;BR /&gt;Copy the script to the Checkpoint and run whit the Job Scheduler? Where is the location for the script.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or can I input the fully script in the "Command to Run" field?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Matthias&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Jan 2025 08:06:07 GMT</pubDate>
    <dc:creator>Thias</dc:creator>
    <dc:date>2025-01-13T08:06:07Z</dc:date>
    <item>
      <title>Best Method To Run A Script On Gateway Boot?</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Best-Method-To-Run-A-Script-On-Gateway-Boot/m-p/22123#M92891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the best way to have a custom script launch when a Gateway boots up? I'd preferably want it to happen pretty late in the start-up process... at least once all the network interfaces have come up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2018 13:27:38 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Best-Method-To-Run-A-Script-On-Gateway-Boot/m-p/22123#M92891</guid>
      <dc:creator>Daniel_Taney</dc:creator>
      <dc:date>2018-08-24T13:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Best Method To Run A Script On Gateway Boot?</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Best-Method-To-Run-A-Script-On-Gateway-Boot/m-p/22124#M92892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-userid="45840" data-username="DTANEb4b37152-d764-4c4d-b1a6-25430ade17ab" href="https://community.checkpoint.com/people/DTANEb4b37152-d764-4c4d-b1a6-25430ade17ab"&gt;Daniel,&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use the following script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/etc/rc.local&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This script will be executed *after* all the other init scripts. You can put your own initialization stuff in here if you don't want to do the full Sys V style init stuff.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or use a "/etc/rc3.d" start script:&lt;/P&gt;&lt;P&gt;/etc/rc3.d/Sxx_myscript&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;xx is the position of the start script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.checkpoint.com/migrated-users/55229"&gt;Heiko&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2018 17:54:03 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Best-Method-To-Run-A-Script-On-Gateway-Boot/m-p/22124#M92892</guid>
      <dc:creator>HeikoAnkenbrand</dc:creator>
      <dc:date>2018-08-24T17:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: Best Method To Run A Script On Gateway Boot?</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Best-Method-To-Run-A-Script-On-Gateway-Boot/m-p/22125#M92893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excellent! Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2018 17:56:09 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Best-Method-To-Run-A-Script-On-Gateway-Boot/m-p/22125#M92893</guid>
      <dc:creator>Daniel_Taney</dc:creator>
      <dc:date>2018-08-24T17:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: Best Method To Run A Script On Gateway Boot?</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Best-Method-To-Run-A-Script-On-Gateway-Boot/m-p/22126#M92894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On Gaia would add an entry to /etc/rc.local. One example use case is from &lt;A href="https://community.checkpoint.com/migrated-users/54754"&gt;Keld Norman&lt;/A&gt;: &lt;A href="https://community.checkpoint.com/thread/6792"&gt;iPhone Real-time Push notification on SmartEvent&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Gaia embedded check out &lt;A href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk111818"&gt;sk11818:&amp;nbsp;How to make kernel parameters survive reboot on SMB appliances&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2018 18:47:19 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Best-Method-To-Run-A-Script-On-Gateway-Boot/m-p/22126#M92894</guid>
      <dc:creator>DeletedUser</dc:creator>
      <dc:date>2018-08-24T18:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: Best Method To Run A Script On Gateway Boot?</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Best-Method-To-Run-A-Script-On-Gateway-Boot/m-p/22127#M92895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using /etc/rc.local to issue "ethtool -r eth1-01" because in some special cases FIBER ports didnt came up after reboot (or set off/on). Maybe issue on the switch, maybe SFP, dont know, but this is workaround working in case of unexpected reboot happened.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2018 19:47:25 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Best-Method-To-Run-A-Script-On-Gateway-Boot/m-p/22127#M92895</guid>
      <dc:creator>JozkoMrkvicka</dc:creator>
      <dc:date>2018-08-24T19:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Best Method To Run A Script On Gateway Boot?</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Best-Method-To-Run-A-Script-On-Gateway-Boot/m-p/22128#M92896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or maybe using @reboot in crontab ? Will it work to execute some script after reboot ? Someone tried ? What in case system was halted ? just thinking loud...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2018 19:56:07 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Best-Method-To-Run-A-Script-On-Gateway-Boot/m-p/22128#M92896</guid>
      <dc:creator>JozkoMrkvicka</dc:creator>
      <dc:date>2018-08-24T19:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: Best Method To Run A Script On Gateway Boot?</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Best-Method-To-Run-A-Script-On-Gateway-Boot/m-p/22129#M92897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The &lt;STRONG&gt;-Best- method&lt;/STRONG&gt; to have GAiA running a script at system boot in my mind is using it's built-in functionality for this:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.checkpoint.com/legacyfs/online/checkpoint/69792_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Aug 2018 11:26:44 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Best-Method-To-Run-A-Script-On-Gateway-Boot/m-p/22129#M92897</guid>
      <dc:creator>Danny</dc:creator>
      <dc:date>2018-08-26T11:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: Best Method To Run A Script On Gateway Boot?</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Best-Method-To-Run-A-Script-On-Gateway-Boot/m-p/22130#M92898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While I don't think we're deprecating rc.local anytime soon, this is definitely the more supported approach.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2018 04:19:14 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Best-Method-To-Run-A-Script-On-Gateway-Boot/m-p/22130#M92898</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2018-08-27T04:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: Best Method To Run A Script On Gateway Boot?</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Best-Method-To-Run-A-Script-On-Gateway-Boot/m-p/22131#M92899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I didn't realize "At Startup" was an option in GAiA's scheduler. In my opinion that's even better than modifying rc.local just in case that gets deprecated at some point. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2018 14:12:54 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Best-Method-To-Run-A-Script-On-Gateway-Boot/m-p/22131#M92899</guid>
      <dc:creator>Daniel_Taney</dc:creator>
      <dc:date>2018-08-28T14:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: Best Method To Run A Script On Gateway Boot?</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Best-Method-To-Run-A-Script-On-Gateway-Boot/m-p/22132#M92900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's also more likely to get backed up through the standard backup methods &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://community.checkpoint.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2018 17:23:44 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Best-Method-To-Run-A-Script-On-Gateway-Boot/m-p/22132#M92900</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2018-08-28T17:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: Best Method To Run A Script On Gateway Boot?</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Best-Method-To-Run-A-Script-On-Gateway-Boot/m-p/238327#M92901</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I need a to run a script at Startup from the checkpoint.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My script has more than one line. What is the best way for this?&amp;nbsp;&lt;BR /&gt;Copy the script to the Checkpoint and run whit the Job Scheduler? Where is the location for the script.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or can I input the fully script in the "Command to Run" field?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Matthias&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2025 08:06:07 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Best-Method-To-Run-A-Script-On-Gateway-Boot/m-p/238327#M92901</guid>
      <dc:creator>Thias</dc:creator>
      <dc:date>2025-01-13T08:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: Best Method To Run A Script On Gateway Boot?</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Best-Method-To-Run-A-Script-On-Gateway-Boot/m-p/238449#M92902</link>
      <description>&lt;P&gt;Create your script on the appliance somewhere (e.g. /home/admin/MyScript.sh) and specify the full path to it in the job scheduler.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2025 20:51:24 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Best-Method-To-Run-A-Script-On-Gateway-Boot/m-p/238449#M92902</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2025-01-13T20:51:24Z</dc:date>
    </item>
  </channel>
</rss>

