Dear Eric,
Thank you for your reply, I succeed to run my own script when secureplatform
reboot.
But I also interest to know that how to put my own script when I ran
"CPSTART" & "CPRESTART" command.
Remarks: My script want to fetch QOS policy from Management Console (fgate
fetch management-ip)
Many thanks,
Kingsley
-----Original Message-----
From: Eric Appelboom [mailto:eric AT mweb DOT com]
Sent: Monday, March 29, 2004 5:11 PM
To: kingsleyc AT DATALINK.COM DOT HK
Subject: RE: [FW-1] How to write own script on secureplatform
Startup scripts.
In expert mode
vi /etc/rc.local
Remeber that you must add the line below to the top of your scripts or they
will
Fail particually in cron.
. /etc/profile.d/CP.sh <--
#!/bin/bash
-----Original Message-----
From: Kingsley Chu [mailto:kingsleyc AT DATALINK.COM DOT HK]
Sent: 29 March 2004 09:07 AM
To: FW-1-MAILINGLIST AT AMADEUS.US.CHECKPOINT DOT COM
Subject: [FW-1] How to write own script on secureplatform
Dear All,
How can I write own script on Secureplatform? For example, I want to write
"fetch floodgate policy", so the command is "fgate fetch management-ip", but
anybody know how to put it in startup script, so that it can be ran after
reboot.
Should you have any query, feel free to contact our support at
support AT datalink.com DOT hk or phone: 23640317
Many thanks,
Kingsley
=================================================
To set vacation, Out-Of-Office, or away messages, send an email to
LISTSERV AT amadeus.us.checkpoint DOT com
in the BODY of the email add:
set fw-1-mailinglist nomail
=================================================
To unsubscribe from this mailing list,
please see the instructions at
http://www.checkpoint.com/services/mailing.html
=================================================
If you have any questions on how to change your subscription options, email
fw-1-owner AT ts.checkpoint DOT com
=================================================
=================================================
To set vacation, Out-Of-Office, or away messages,
send an email to LISTSERV AT amadeus.us.checkpoint DOT com
in the BODY of the email add:
set fw-1-mailinglist nomail
=================================================
To unsubscribe from this mailing list,
please see the instructions at
http://www.checkpoint.com/services/mailing.html
=================================================
If you have any questions on how to change your
subscription options, email
fw-1-owner AT ts.checkpoint DOT com
=================================================
|