Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Jose_Ramon_Rodr
Participant

Changing virtual system by script

Hi, All...

We are trying to use the sk103154 script (the one that enables to block automatically TOR ip address) in a VSX system (the original script only works in stand-alone firewalls) and we are facing a problem: any "vsenv" command is ignored when we insert it in the script.

We have try several options:

* insertion of the literal command

      vsenv 2

* call to a variable

     result = $(vsenv 2)

* building a text file with the commands and calling it by "clish -f"...

 

Neither of them has worked. All the "fw sam" commands are sent to the VS 0. If I enter those commands manually in the system they work and send the "fw sam" commands to the VS 2, but doing it through a script doesn't

 

Am I doing something wrong?

0 Kudos
1 Reply
Maarten_Sjouw
Champion
Champion

At what position did you add the 'vsenv 2'
If you ask me it would be placed before these 3 points:
$CPDIR/bin/cpd_sched_config add
$CPDIR/bin/cpd_sched_config delete
cpd_sched_config print
Regards, Maarten
0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    Tue 23 Apr 2024 @ 11:00 AM (EDT)

    East US: What's New in R82

    Thu 25 Apr 2024 @ 11:00 AM (SGT)

    APAC: CPX 2024 Recap

    Tue 30 Apr 2024 @ 03:00 PM (CDT)

    EMEA: CPX 2024 Recap

    Thu 02 May 2024 @ 11:00 AM (SGT)

    APAC: What's new in R82

    Tue 23 Apr 2024 @ 11:00 AM (EDT)

    East US: What's New in R82

    Thu 25 Apr 2024 @ 11:00 AM (SGT)

    APAC: CPX 2024 Recap

    Tue 30 Apr 2024 @ 03:00 PM (CDT)

    EMEA: CPX 2024 Recap

    Thu 02 May 2024 @ 11:00 AM (SGT)

    APAC: What's new in R82
    CheckMates Events