Update 'README.md'

main
ben 1 year ago
parent 532935b04a
commit 69b9d9cd34

@ -24,3 +24,23 @@ This script provides an automated setup for building and compiling OpenWrt appli
```bash ```bash
chmod +x lxc-setup.sh chmod +x lxc-setup.sh
## compile.sh
*Run this script after running lxc-setup.sh*
This Bash script aids in the compilation of specific OpenWRT `luci-app` packages.
## 🚀 Features
1. **Permission Verification:** Checks if the user running the script has the required permissions.
2. **Router Selection:** Prompts the user to select the router for which they want to build a package.
3. **SDK Validation:** Checks if the chosen SDK folder exists based on the router selection.
4. **Package List:** Displays available `luci-app` packages for the user to select for compilation.
5. **Permission Grant:** Grants execution permissions to any discovered 'libexec' directories and their contents.
6. **Package Compilation:** Clones the package from the specified git repository and guides the user through the compilation process.
## 🔧 Usage
Execute the script from the command line. You'll be prompted to select your router model and then choose the specific `luci-app` package you want to compile.
```bash
$ ./script_name.sh

Loading…
Cancel
Save