Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 817 Bytes

File metadata and controls

30 lines (19 loc) · 817 Bytes

XHI

The full name is xinetd http interface, to provide a set of API base on HTTP protocol

Installation

1 Install xinetd if not. Perform the following in openwrt:

`opkg update`
`opkg install xinetd`

2 Add xhi service in /etc/services, for example:

`xhi        8080/tcp`

3 Create xhi configuration file for xinetd, you can simplily copy file "xhi" in source code into /etc/xinetd.d/

4 Put xhi code to your disk.

The default location is "/etc/xhi". If you decide to use another location, please remember to update it in web.sh

5 Re-start xhi service

`/etc/init.d/xinetd restart`

6 Enjoy it

Reference

预览版固件中apcli的配置方法