meta-digi-arm: launch udhcp client in background to reduce the boot time
udhcpc options added to 'network/interfaces': * '-S' to log to syslog too. * Redirect the output to '/dev/null' not to show messages of the tool running in background (for example when executing 'ifup'). * '&' to send the udhcp client to background. https://jira.digi.com/browse/DEL-3821 Signed-off-by: Tatiana Leon <tatiana.leon@digi.com>
This commit is contained in:
parent
30c253e108
commit
113deb8046
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
auto wlan0
|
auto wlan0
|
||||||
iface wlan0 inet dhcp
|
iface wlan0 inet dhcp
|
||||||
udhcpc_opts -b
|
udhcpc_opts -S -b >/dev/null &
|
||||||
wpa-driver ##WPA_DRIVER##
|
wpa-driver ##WPA_DRIVER##
|
||||||
wpa-conf /etc/wpa_supplicant.conf
|
wpa-conf /etc/wpa_supplicant.conf
|
||||||
post-up /bin/virtwlans.sh
|
post-up /bin/virtwlans.sh
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
auto wlan1
|
auto wlan1
|
||||||
iface wlan1 inet dhcp
|
iface wlan1 inet dhcp
|
||||||
udhcpc_opts -b
|
udhcpc_opts -S -b >/dev/null &
|
||||||
post-up /etc/init.d/hostapd start
|
post-up /etc/init.d/hostapd start
|
||||||
pre-down /etc/init.d/hostapd stop
|
pre-down /etc/init.d/hostapd stop
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
|
|
||||||
auto eth0
|
auto eth0
|
||||||
iface eth0 inet dhcp
|
iface eth0 inet dhcp
|
||||||
udhcpc_opts -b
|
udhcpc_opts -S -b >/dev/null &
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
|
|
||||||
auto eth1
|
auto eth1
|
||||||
iface eth1 inet dhcp
|
iface eth1 inet dhcp
|
||||||
udhcpc_opts -b
|
udhcpc_opts -S -b >/dev/null &
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
auto wlan0
|
auto wlan0
|
||||||
iface wlan0 inet dhcp
|
iface wlan0 inet dhcp
|
||||||
udhcpc_opts -b
|
udhcpc_opts -S -b >/dev/null &
|
||||||
wpa-driver ##WPA_DRIVER##
|
wpa-driver ##WPA_DRIVER##
|
||||||
wpa-conf /etc/wpa_supplicant.conf
|
wpa-conf /etc/wpa_supplicant.conf
|
||||||
# post-up /etc/init.d/hostapd start
|
# post-up /etc/init.d/hostapd start
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue