1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-03-21 10:47:16 +01:00
fwbuilder/src/res/configlets/openwrt/installer_commands_reg_user

38 lines
1.1 KiB
Bash

## -*- mode: shell-script; -*-
##
## To be able to make changes to the part of configuration created
## from this configlet you need to copy this file to the directory
## fwbuilder/configlets/sveasoft/ in your home directory and modify it.
## Double "##" comments are removed during processing but single "#"
## comments are be retained and appear in the generated script. Empty
## lines are removed as well.
##
## Configlets support simple macro language with these constructs:
## {{$var}} is variable expansion
## {{if var}} is conditional operator.
##
##
## These are commands built-in policy installer runs on the firewall if
## installation is performed using regular user account for authentication
##
## Variables:
##
## {{$fwbprompt}} -- "magic" prompt that installer uses to detect when it is logged in
## {{$fwdir}} -- directory on the firewall
## {{$fwscript}} -- script name on the firewall
## {{$rbtimeout}} -- rollback timeout
##
## {{$firewall_name}} -- the name of the firewall object
##
##
## We only use root to authenticate to OpenWRT firewall
{{if run}}
{{endif}}
{{if test}}
{{endif}}