According the code, it seems that:
if [ "${LIGHTTPD}" = 1]; then
...
fi
should be used to check whether lighttpd has been turn on, but current code with:
if [ "${LIGHTTPD}" = yes]; then
...
fi
it will cause web GUI fail to run
Index: nanobsd/freenas-common
===================================================================
--- nanobsd/freenas-common (revision 9080)
+++ nanobsd/freenas-common (working copy)
@@ -123,7 +123,7 @@
add_port databases/py-south
add_port devel/py-asn1
add_port devel/py-asn1-modules
-if [ "${LIGHTTPD}" = yes ]; then
+if [ "${LIGHTTPD}" = 1 ]; then
#+add_port www/lighttpd
add_port www/spawn-fcgi
#-add_port www/lighttpd
if [ "${LIGHTTPD}" = 1]; then
...
fi
should be used to check whether lighttpd has been turn on, but current code with:
if [ "${LIGHTTPD}" = yes]; then
...
fi
it will cause web GUI fail to run
Index: nanobsd/freenas-common
===================================================================
--- nanobsd/freenas-common (revision 9080)
+++ nanobsd/freenas-common (working copy)
@@ -123,7 +123,7 @@
add_port databases/py-south
add_port devel/py-asn1
add_port devel/py-asn1-modules
-if [ "${LIGHTTPD}" = yes ]; then
+if [ "${LIGHTTPD}" = 1 ]; then
#+add_port www/lighttpd
add_port www/spawn-fcgi
#-add_port www/lighttpd