You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ben 0e273086ad | 1 year ago | |
---|---|---|
README.md | 1 year ago | |
lxc-compile.sh | 1 year ago |
README.md
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
- The script should be run as
root
,forge
,homestead
, orvagrant
user. - Ensure you have internet connectivity for apt updates and SDK downloads.
- Hosted on OpenWrt.
Usage
-
Clone the repository or download the
lxc-setup.sh
script. -
Provide execute permissions:
chmod +x lxc-setup.sh