removed fluff echo's
This commit is contained in:
parent
51e16193fb
commit
7153462b2a
4
wifi
4
wifi
@ -37,9 +37,7 @@ printf "network={
|
|||||||
__kill_old() {
|
__kill_old() {
|
||||||
if [ -z "$debug_kill" ]
|
if [ -z "$debug_kill" ]
|
||||||
then
|
then
|
||||||
echo killing old process
|
|
||||||
kill "`pgrep wpa_supplicant`"
|
kill "`pgrep wpa_supplicant`"
|
||||||
echo releasing leases
|
|
||||||
dhclient -r
|
dhclient -r
|
||||||
else
|
else
|
||||||
echo 'Not killing anything'
|
echo 'Not killing anything'
|
||||||
@ -51,9 +49,7 @@ __connect_config() {
|
|||||||
then
|
then
|
||||||
__kill_old
|
__kill_old
|
||||||
echo Seriously this is going to take a minute
|
echo Seriously this is going to take a minute
|
||||||
echo Setting up wpa_supplicant
|
|
||||||
wpa_supplicant -B -i wlp1s0 -c "$1"
|
wpa_supplicant -B -i wlp1s0 -c "$1"
|
||||||
echo Attempting dhclient
|
|
||||||
dhclient wlp1s0
|
dhclient wlp1s0
|
||||||
else
|
else
|
||||||
echo Not connecting to anything
|
echo Not connecting to anything
|
||||||
|
Loading…
Reference in New Issue
Block a user