From d992f9a81b5bba7aae1a07dc36363131ba96c78d Mon Sep 17 00:00:00 2001 From: Sebastian Schmelzer Date: Tue, 6 Dec 2011 15:27:17 +0100 Subject: running version with new fbgui --- build/rootfs/bin/cdhcpcd | Bin 0 -> 14896 bytes build/rootfs/bin/fbgui | Bin 1273522 -> 1274836 bytes build/rootfs/etc/fbgui.logging.conf | 14 ++++++++++++++ build/rootfs/init | 8 ++++++-- 4 files changed, 20 insertions(+), 2 deletions(-) create mode 100755 build/rootfs/bin/cdhcpcd create mode 100644 build/rootfs/etc/fbgui.logging.conf diff --git a/build/rootfs/bin/cdhcpcd b/build/rootfs/bin/cdhcpcd new file mode 100755 index 0000000..0859df7 Binary files /dev/null and b/build/rootfs/bin/cdhcpcd differ diff --git a/build/rootfs/bin/fbgui b/build/rootfs/bin/fbgui index 1cb738a..c58c9e2 100755 Binary files a/build/rootfs/bin/fbgui and b/build/rootfs/bin/fbgui 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 -- cgit v1.2.3-55-g7522