diff options
Diffstat (limited to 'build/rootfs/etc')
-rw-r--r-- | build/rootfs/etc/fbgui.conf | 2 | ||||
-rwxr-xr-x | build/rootfs/etc/udhcpc.default.script | 3 |
2 files changed, 3 insertions, 2 deletions
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="" |