mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-06-14 14:16:51 +00:00
Update ubus.markdown (#13553)
This commit is contained in:
parent
4330c64dea
commit
cf3b0a0123
@ -21,7 +21,7 @@ For OpenWrt version 18.06.x the package uhttpd-mod-ubus should also be installed
|
|||||||
opkg install uhttpd-mod-ubus
|
opkg install uhttpd-mod-ubus
|
||||||
```
|
```
|
||||||
|
|
||||||
And create a read-only user to be used by setting up the ACL file `/usr/share/rpcd/acl.d/user.json`.
|
And create on your OpenWrt device a read-only user to be used by setting up the ACL file `/usr/share/rpcd/acl.d/user.json`.
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
@ -38,7 +38,7 @@ And create a read-only user to be used by setting up the ACL file `/usr/share/rp
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Restart the services.
|
Restart the services. This ACL file needs to be recreated after updating/upgrading your OpenWrt firmware.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# /etc/init.d/rpcd restart && /etc/init.d/uhttpd restart
|
# /etc/init.d/rpcd restart && /etc/init.d/uhttpd restart
|
||||||
|
Loading…
x
Reference in New Issue
Block a user