Skip to content
This repository has been archived by the owner on Jun 23, 2019. It is now read-only.

Commit

Permalink
Update ff-rebootIfNoGw
Browse files Browse the repository at this point in the history
  • Loading branch information
@RubenKelevra committed Mar 7, 2015
1 parent 46a7672 commit eefeb66
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions files/default/usr/sbin/ff-rebootIfNoGw
Expand Up @@ -27,3 +27,9 @@ if [ ! -z "$ipv6_gw" ]; then
else
logger "IPv6 Router NOT configured."
fi

#check if wifi is stucking
rm -f /tmp/wifi.running
(iw dev > /dev/null && touch /tmp/wifi.running) &
sleep 5
[ ! -f /tmp/wifi.running ] && reboot -f

0 comments on commit eefeb66

Please sign in to comment.