Navigation

  • index
  • next |
  • previous |
  • barebox 2025.04.0 documentation »
  • 3. Command reference »
  • 3.7.8. menutree - create menu from directory structure

3.7.8. menutree - create menu from directory structure¶

3.7.8.1. Usage¶

menutree [-m] DIR

3.7.8.2. Synopsis¶

Each menu entry is described by a subdirectory. Each subdirectory can contain the following files which further describe the entry:

title A file containing the title of the entry as shown in the menu box If present, the entry is a ‘bool’ entry. The file contains a name from which the current state of the bool is taken from and saved to. action if present this file contains a shell script which is executed when when the entry is selected.

If neither ‘box’ or ‘action’ are present, this entry is considered a submenu containing more entries.

3.7.8.3. Options¶

-m DIR

directory where the menu starts (Default: /env/menu)

Logo

Table of Contents

  • 3.7.8. menutree - create menu from directory structure
    • 3.7.8.1. Usage
    • 3.7.8.2. Synopsis
    • 3.7.8.3. Options

Previous topic

3.7.7. menu - create and display menus

Next topic

3.7.9. mmc_extcsd - Read/write the extended CSD register.

This Page

  • Show Source

Quick search

Navigation

  • index
  • next |
  • previous |
  • barebox 2025.04.0 documentation »
  • 3. Command reference »
  • 3.7.8. menutree - create menu from directory structure
© Copyright 2014, The barebox project. Created using Sphinx 5.3.0.