From 42e89cc0187f190d75df519e7d9551af1e69588f Mon Sep 17 00:00:00 2001 From: ben Date: Wed, 4 Oct 2023 01:13:37 +0000 Subject: [PATCH] Update 'README.md' --- README.md | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8044571..c792b09 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,26 @@ -# bash-scripts +# lxc-setup.sh +This script provides an automated setup for building and compiling OpenWrt applications inside LXC (Linux Container) environments hosted on OpenWrt. It prepares the LXC environment, installs required tools, sets up SSH and SFTP configurations, and downloads the appropriate OpenWrt SDK based on user input. Post SDK download, it sets up language support and provides a mechanism for cloning and building a list of OpenWrt applications from a Git repository. + +## Features + +- Automated LXC environment setup and verification. +- SSH & SFTP setup for secure data transfers. +- Selection interface to choose target routers. +- Automated OpenWrt SDK download and extraction. +- Language support addition for OpenWrt applications. +- Git cloning and building of numerous OpenWrt apps from the specified repository. + +## Requirements + +1. The script should be run as `root`, `forge`, `homestead`, or `vagrant` user. +2. Ensure you have internet connectivity for apt updates and SDK downloads. +3. Hosted on OpenWrt. + +## Usage + +1. Clone the repository or download the `lxc-setup.sh` script. +2. Provide execute permissions: + + ```bash + chmod +x lxc-setup.sh