wifi-reload: Make it compatible with rc.local.

This commit is contained in:
Ole Tange 2017-05-14 08:40:33 +02:00
parent 028d0520cf
commit 4fe8dc549d

View file

@ -61,4 +61,8 @@ sudo kill $PID || sudo killall NetworkManager
sleep 1
sudo kill -9 $PID
sudo NetworkManager &
if tty -s ; then
# STDIN is terminal
forever dmesg | puniq
fi