summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjoe2011-04-20 18:44:51 +0200
committerjoe2011-04-20 18:44:51 +0200
commit214374ff36fa1b7e55256ec8318a5f364b60538f (patch)
tree6e82f41321f0a1e9fb5dc794e5c636a8f4bd4d8a
parentupdate kernel to 2.6.38.3 (diff)
downloadusb-boot-stick-214374ff36fa1b7e55256ec8318a5f364b60538f.tar.gz
usb-boot-stick-214374ff36fa1b7e55256ec8318a5f364b60538f.tar.xz
usb-boot-stick-214374ff36fa1b7e55256ec8318a5f364b60538f.zip
kexec by fbgui, adapted scripts & configs
-rwxr-xr-xbuild/rootfs/bin/fbguibin2372983 -> 2373939 bytes
-rwxr-xr-xbuild/rootfs/bin/load_fbgui.sh11
-rw-r--r--build/rootfs/etc/fbgui.conf2
-rwxr-xr-xbuild/rootfs/etc/udhcpc.default.script3
4 files changed, 3 insertions, 13 deletions
diff --git a/build/rootfs/bin/fbgui b/build/rootfs/bin/fbgui
index aafe3f5..96efa20 100755
--- a/build/rootfs/bin/fbgui
+++ b/build/rootfs/bin/fbgui
Binary files differ
diff --git a/build/rootfs/bin/load_fbgui.sh b/build/rootfs/bin/load_fbgui.sh
index 2624196..ca592b9 100755
--- a/build/rootfs/bin/load_fbgui.sh
+++ b/build/rootfs/bin/load_fbgui.sh
@@ -8,14 +8,3 @@ fbgui_options=""
[ -f "/tmp/debuglevel" ] && . /tmp/debuglevel
[ $DEBUGLEVEL -ge 1 ] && /bin/sh
-
-. /tmp/kclip
-kcl=$(cat /tmp/kcl)
-kcl="$kcl ip=$ip:10.8.4.3:$gateway:$subnet"
-
-echo "KCL: $kcl"
-
-echo "\n\n Run kexec"
-
-kexec -l /tmp/kernel --initrd=/tmp/initramfs --append="$kcl"
-kexec -e
diff --git a/build/rootfs/etc/fbgui.conf b/build/rootfs/etc/fbgui.conf
index 79206b3..ac2cecb 100644
--- a/build/rootfs/etc/fbgui.conf
+++ b/build/rootfs/etc/fbgui.conf
@@ -1,6 +1,6 @@
[default]
pbs_url=http://132.230.4.27
-download_directory=/tmp/fbgui
+download_directory=/tmp
update_interval=5
file_trigger=/tmp/fbgui_trigger
serial_location=/serial
diff --git a/build/rootfs/etc/udhcpc.default.script b/build/rootfs/etc/udhcpc.default.script
index 0ea5cd5..09442a5 100755
--- a/build/rootfs/etc/udhcpc.default.script
+++ b/build/rootfs/etc/udhcpc.default.script
@@ -16,11 +16,12 @@ case $1 in
# read filename from fbgui.conf where ip config should be saved.
ipconf=$(cat /etc/fbgui.conf | grep ip_config | cut -d '=' -f2)
-
+
echo "ip=$ip" > $ipconf
echo "subnet=$subnet" >> $ipconf
echo "broadcast=$broadcast" >> $ipconf
echo "gateway=$router" >> $ipconf
+ echo "$ip:132.230.4.3:$router:$subnet" > /tmp/ip_config_fbgui
# Update resolver configuration file
R=""