From 39eed2b9130d9dfa18252462c726a8cb3623109e Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 13 Feb 2014 16:27:40 +0100 Subject: [PATCH] gluon-config-mode: simplify dnsmasq command, remove sleep after network setup --- .../gluon-config-mode/files/etc/init.d/gluon-config-mode | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/package/gluon-config-mode/files/etc/init.d/gluon-config-mode b/package/gluon-config-mode/files/etc/init.d/gluon-config-mode index 20617c72..5492c0ea 100755 --- a/package/gluon-config-mode/files/etc/init.d/gluon-config-mode +++ b/package/gluon-config-mode/files/etc/init.d/gluon-config-mode @@ -51,8 +51,6 @@ setup_network() { include /lib/network setup_switch - - sleep 5 } start() { @@ -74,13 +72,13 @@ start() { /usr/sbin/uhttpd -h /lib/gluon/config-mode/www -x /cgi-bin -A 1 -R -p 0.0.0.0:80 + /usr/sbin/dnsmasq -p 0 -F $CONFIG_MODE_DHCP_RANGE -l /tmp/dhcp.leases -O option:router + /etc/init.d/led start # correctly finish firstboot /etc/init.d/done boot - dnsmasq -h -R -F interface:br-config,$CONFIG_MODE_DHCP_RANGE -l /tmp/dhcp.leases -O option:router - . /etc/diag.sh get_status_led status_led_set_timer 1000 300