The deps property defines when to show (dependencies met) or to hide (not met) a variable. Example:

deps = {
    # show if dhcp is set to "no" or "try"
    { @c:"dhcp", "no", "==" },
    { @c:"dhcp", "try", "==" },

This is equivalent to (($dhcp == "no") || ($dhcp == "try")).

Note that:

  • dependencies are written in a manner similar to Reverse Polish Notation (one operator can have more than two arguments) and should be evaluated from most to least "deep" conditions,
  • variable values are fetched by FCML parser,
  • available operators: "==", "!=", ">", "<", "&&" and "||"


The backdeps property tells dependencies of which variables to evaluate once again on value change. Example:

# check hostip dependencies on value change
backdeps = { "hostip", "/net/ipaddr" }

This property is meant for interactive, graphical interfaces which need to show/hide some variables dynamically when e.g. the user enables/disables some option.

Paths in the backdeps property are relative, as the functionality is meant for refreshing the view of the current directory only.

However, in order to help cacheing engines to reparse variable definitions which might have changed, the property can also hold fc:paths. In this case the variable definition will be loaded once again without notyfing the user interface.