Debian Codegraph @

src/res/configlets/fwsm_os/installer_commands_reg_user

raw
1 ## -*- mode: shell-script; -*-
2 ##
3 ## Lines that start with "##" will be removed before this code is
4 ## added to the generated script. Regular shell comments can be added
5 ## using single "#", these will appear in the script.
6 ##
7 ## These are commands built-in policy installer runs on the firewall
8 ##
9 ## Variables:
10 ##
11 ## {{$fwbprompt}} -- "magic" prompt that installer uses to detect when it is
12 ## logged in
13 ## {{$fwdir}} -- directory on the firewall (in case of PIX, "flash:" or
14 ## similar)
15 ## {{$fwscript}} -- script name on the firewall
16 ## {{$firewall_name}} -- the name of the firewall object
17 ##
18
19 {{if using_scp}}
20 changeto context {{$firewall_name}}
21 copy /noconfirm {{$fwdir}}/{{$fwscript}} running-config
22 changeto system
23 delete /noconfirm {{$fwdir}}/{{$fwscript}}
24 exit
25 {{endif}}
26
27 {{if not_using_scp}}
28 config term
29 terminal width 256
30 {{$fwbuilder_generated_configuration_lines}}
31 exit
32 {{endif}}
33