diff --git a/readme.md b/readme.md index ccb0ba5..3be0f22 100644 --- a/readme.md +++ b/readme.md @@ -32,7 +32,7 @@ See `docker-compose.yml` ## Build and run ```bash -docker build -t openwrt-docker-arm64 . && docker compose up +docker compose up ``` If you like to specify a specific OpenWrt version you can do diff --git a/src/init_container.sh b/src/init_container.sh index 2ab645c..377df13 100644 --- a/src/init_container.sh +++ b/src/init_container.sh @@ -47,6 +47,10 @@ else echo "* Enviroment variables *" >> /var/www/system_info.txt export >> /var/www/system_info.txt + echo $'\n' >> /var/www/system_info.txt + + echo "* USB devices *" >> /var/www/system_info.txt + lsusb >> /var/www/system_info.txt sed -i 's/---SED_REPLACEMENT_TAG---/"system_info.txt"/g' /var/www/index.html fi