Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 874 Bytes

README.md

File metadata and controls

33 lines (20 loc) · 874 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 install xinetd`

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

`xhi        8080/tcp`

2 Set the xinted startup with the Linux:

`/etc/init.d/xinted enable`

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

5 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

6 Re-start xhi service

`/etc/init.d/xinetd restart`

7 Enjoy it

Reference

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