From ce666086f122668f5d730b940e6f385c777d2788 Mon Sep 17 00:00:00 2001 From: russkinz <68681047+russkinz@users.noreply.github.com> Date: Thu, 29 Feb 2024 09:09:54 +1300 Subject: [PATCH] Update openwrt.md Remove extra comma in homepage.json Cleaned up some formatting --- docs/widgets/services/openwrt.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/docs/widgets/services/openwrt.md b/docs/widgets/services/openwrt.md index 7b82daec8..91327d6b8 100644 --- a/docs/widgets/services/openwrt.md +++ b/docs/widgets/services/openwrt.md @@ -37,7 +37,7 @@ Create an ACL named `homepage.json` in `/usr/share/rpcd/acl.d/`, the following p "network.device": ["status"], "system": ["info"] } - }, + } } } ``` @@ -45,14 +45,11 @@ Create a `crypt(5)` password hash using the following command in the OpenWRT she ```sh uhttpd -m "" ``` - -Then add a user that will use that ACL in `/etc/config/rpcd`: - +Then add a user that will use the ACL and hashed password in `/etc/config/rpcd`: ``` config login option username 'homepage' option password '' list read homepage ``` - This username and password will be used in Homepage's services.yaml to grant access.