summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild/rootfs/bin/cdhcpcdbin0 -> 14896 bytes
-rwxr-xr-xbuild/rootfs/bin/fbguibin1273522 -> 1274836 bytes
-rw-r--r--build/rootfs/etc/fbgui.logging.conf14
-rwxr-xr-xbuild/rootfs/init8
4 files changed, 20 insertions, 2 deletions
diff --git a/build/rootfs/bin/cdhcpcd b/build/rootfs/bin/cdhcpcd
new file mode 100755
index 0000000..0859df7
--- /dev/null
+++ b/build/rootfs/bin/cdhcpcd
Binary files differ
diff --git a/build/rootfs/bin/fbgui b/build/rootfs/bin/fbgui
index 1cb738a..c58c9e2 100755
--- a/build/rootfs/bin/fbgui
+++ b/build/rootfs/bin/fbgui
Binary files differ
diff --git a/build/rootfs/etc/fbgui.logging.conf b/build/rootfs/etc/fbgui.logging.conf
new file mode 100644
index 0000000..50986d7
--- /dev/null
+++ b/build/rootfs/etc/fbgui.logging.conf
@@ -0,0 +1,14 @@
+log4j.appender.SLA=SyslogAppender
+log4j.appender.SLA.layout=PatternLayout
+log4j.appender.SLA.layout.ConversionPattern=-4r -5p c{2} M.L x - m
+
+log4j.appender.FA=RollingFileAppender
+log4j.appender.FA.File=/tmp/fbgui.log
+log4j.appender.FA.MaxFileSize=1MB
+log4j.appender.FA.MaxBackupIndex=1
+log4j.appender.FA.layout=TTCCLayout
+log4j.appender.FA.layout.ContextPrinting=enabled
+log4j.appender.FA.layout.DateFormat=ISO8601
+
+log4j.rootLogger=DEBUG, SLA, FA
+
diff --git a/build/rootfs/init b/build/rootfs/init
index ca938af..f1bae3c 100755
--- a/build/rootfs/init
+++ b/build/rootfs/init
@@ -68,6 +68,8 @@ echo "1" > /dev/tty0
echo "Starting shell, leaving it would continue init."
getty -i -n -l /bin/cat 38400 tty10 &
+getty -n -l /bin/ash 38400 tty2 &
+getty -n -l /bin/ash 38400 tty3 &
setlogcons 10
# initramfs-setup configuration (common settings for all clients using a
@@ -87,8 +89,10 @@ ip link set dev lo up
ip addr add 127.0.0.1/8 dev lo
ip link set dev $nwif up || echo "I did not find any usable network adaptor."
-echo "/sbin/udhcpc -f -n -q -s /etc/udhcpc.default.script -i $nwif &>/dev/null &" \
- >> /bin/run_udhcpc.sh
+#echo "/sbin/udhcpc -f -n -q -s /etc/udhcpc.default.script -i $nwif &>/dev/null &" \
+# >> /bin/run_udhcpc.sh
+
+mkdir -p /var/tmp /var/run /var/lib
cat /etc/issue