slitaz-boot-scripts rev 446

network.sh: stop wpa_cli interactive mode with static_ip
author Richard Dunbar <mojo@slitaz.org>
date Fri Oct 27 12:18:19 2017 -0400 (21 months ago)
parents 65c9b99080a3
children b92b0376b504
files etc/init.d/network.sh etc/init.d/wpa_cli_static.sh
line diff
     1.1 --- a/etc/init.d/network.sh	Sat Oct 07 23:59:04 2017 +0200
     1.2 +++ b/etc/init.d/network.sh	Fri Oct 27 12:18:19 2017 -0400
     1.3 @@ -321,7 +321,7 @@
     1.4  		fi
     1.5  
     1.6  		# wpa_supplicant waits for wpa_cli
     1.7 -		[ -d /var/run/wpa_supplicant ] && wpa_cli -B
     1.8 +		[ -d /var/run/wpa_supplicant ] && wpa_cli -a"/etc/init.d/wpa_cli_static.sh" -B
     1.9  
    1.10  		# Multi-DNS server in $DNS_SERVER
    1.11  		/bin/mv /etc/resolv.conf /tmp/resolv.conf.$$
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/etc/init.d/wpa_cli_static.sh	Fri Oct 27 12:18:19 2017 -0400
     2.3 @@ -0,0 +1,2 @@
     2.4 +# This blank action script file stops wpa_cli from entering interactive mode 
     2.5 +# when called from static_ip function in network.sh