blob: d5c36f5e365aded17d4653fc019235f869393587 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
mLinux commisioning.
Project will include a cgi for
quick commisioning and a web UI.
WebUI is the default location https://192.168.2.1 during
commissioning.
/etc/init.d/lighttpd should
be replaced and use /etc/default/commissioning symlink.
If commissioning file is missing, we are commissioning.
/var/volatile/default/commisioning should only be
created after the commissioned user-id is verified.
opkg install php-fpm
opkg install lighttpd
opkg install lighttpd-module-fastcgi
opkg install lighttpd-module-redirect
By default php-fpm runs as nobody. It needs to be
able to execute commands. Maybe a C program should
be set to setuid for commisioning so it
does not need to run as root?
|