gen_rule

gen_rule is shell tool for generating rule access to user device.

Developed in bash code: 100%.

GitHub shell checker

The README is used to introduce the tool and provide instructions on how to install the tool, any machine dependencies it may have and any other information that should be provided before the tool is installed.

GitHub issues Documentation Status GitHub contributors

Installation

Navigate to release page download and extract release archive.

To install gen_rule type the following:

tar xvzf gen_rule-x.y.z.tar.gz
cd gen_rule-x.y.z
cp -R ~/sh_tool/bin/   /root/scripts/gen_rule/ver.1.0/
cp -R ~/sh_tool/conf/  /root/scripts/gen_rule/ver.1.0/
cp -R ~/sh_tool/log/   /root/scripts/gen_rule/ver.1.0/

Or You can use Docker to create image/container.

GitHub docker checker

Dependencies

gen_rule requires next modules and libraries:

Shell tool structure

gen_rule is based on MOP.

Code structure:

.
├── bin/
│   ├── create_udev_file.sh
│   ├── gen_rule.sh
│   ├── list_udev_files.sh
│   └── remove_udev_file.sh
├── conf/
│   ├── gen_rule.cfg
│   ├── gen_rule_util.cfg
│   ├── template/
│   │   ├── avr_dragon_isp.template
│   │   ├── avr_jtag_ice.template
│   │   ├── avr_silabs.template
│   │   ├── avr_usb_asp.template
│   │   ├── avr_usb_mkii.template
│   │   ├── avr_usb_tiny.template
│   │   └── msp430uif.template
│   ├── udev_rule_names.cfg
│   └── udev_templates.cfg
└── log/
    └── gen_rule.log

Indices and tables