wifi-reload: Make it compatible with rc.local.
This commit is contained in:
parent
028d0520cf
commit
4fe8dc549d
|
@ -61,4 +61,8 @@ sudo kill $PID || sudo killall NetworkManager
|
|||
sleep 1
|
||||
sudo kill -9 $PID
|
||||
sudo NetworkManager &
|
||||
forever dmesg | puniq
|
||||
|
||||
if tty -s ; then
|
||||
# STDIN is terminal
|
||||
forever dmesg | puniq
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue