r2042 - in trunk/vendors/Nintendo
dslinux_sonny_jim at dslinux.in-berlin.de
dslinux_sonny_jim at dslinux.in-berlin.de
Wed Dec 12 12:42:37 CET 2007
Author: sonny_jim
Date: 2007-12-12 12:42:36 +0100 (Wed, 12 Dec 2007)
New Revision: 2042
Log:
enable boa in DLDI and add init scripts
Modified: trunk/vendors/Nintendo/DLDI/Makefile
===================================================================
--- trunk/vendors/Nintendo/DLDI/Makefile 2007-12-12 11:15:28 UTC (rev 2041)
+++ trunk/vendors/Nintendo/DLDI/Makefile 2007-12-12 11:42:36 UTC (rev 2042)
@@ -11,7 +11,7 @@
ROMFS_DIRS := boot dev proc sbin $(FATFS)/linux $(OPTDIR) tmp
-FS_DIRS := etc/rc.d home lib usr/bin usr/games usr/lib usr/share/udhcpc var/tmp var/run var/log
+FS_DIRS := etc/rc.d home lib usr/bin usr/games usr/lib usr/share/udhcpc var/tmp var/run var/log var/www
DEVICES := \
tty,c,5,0 console,c,5,1 cua0,c,5,64 cua1,c,5,65 \
Modified: trunk/vendors/Nintendo/DLDI/config.vendor
===================================================================
--- trunk/vendors/Nintendo/DLDI/config.vendor 2007-12-12 11:15:28 UTC (rev 2041)
+++ trunk/vendors/Nintendo/DLDI/config.vendor 2007-12-12 11:42:36 UTC (rev 2042)
@@ -198,7 +198,10 @@
# CONFIG_USER_APPWEB_APPWEB is not set
# CONFIG_USER_ASTERISK is not set
# CONFIG_USER_FNORD_HTTPD is not set
-# CONFIG_USER_BOA_SRC_BOA is not set
+CONFIG_USER_BOA_SRC_BOA=y
+# CONFIG_USER_BOA_WITH_SSL is not set
+CONFIG_USER_BOA_EMERG=y
+CONFIG_USER_BOA_LOGGING=y
CONFIG_USER_BITCHX_BITCHX=n
# CONFIG_USER_BPALOGIN_BPALOGIN is not set
# CONFIG_USER_BR2684CTL_BR2684CTL is not set
Modified: trunk/vendors/Nintendo/common/rc.common
===================================================================
--- trunk/vendors/Nintendo/common/rc.common 2007-12-12 11:15:28 UTC (rev 2041)
+++ trunk/vendors/Nintendo/common/rc.common 2007-12-12 11:42:36 UTC (rev 2042)
@@ -73,6 +73,16 @@
fi
fi
+if [ "$start_boa" = "YES" ]
+then
+ if [ "$__network_up" = "YES" ]
+ then
+ /etc/rc.d/boa start
+ else
+ echo "Not starting boa: network is down"
+ fi
+fi
+
# set hostname
hostname $hostname
Added: trunk/vendors/Nintendo/common/rc.d/boa
Modified: trunk/vendors/Nintendo/common/rc.defaults
===================================================================
--- trunk/vendors/Nintendo/common/rc.defaults 2007-12-12 11:15:28 UTC (rev 2041)
+++ trunk/vendors/Nintendo/common/rc.defaults 2007-12-12 11:42:36 UTC (rev 2042)
@@ -126,6 +126,10 @@
# If you want to start PIXIL at boot, set this to "YES".
start_pixil="NO"
+# To start the boa webserver on boot, set this to "YES"
+# NOTE: The default website is /var/www
+start_boa="YES"
+
# If you use a proxy server in your environment, specify it here
# for ViewML.
export VIEWML_PROXY=""
More information about the dslinux-commit
mailing list