[Assorted-commits] SF.net SVN: assorted:[1899] configs/trunk/src/cron/reconnect.bash
Brought to you by:
yangzhang
|
From: <yan...@us...> - 2017-05-12 21:57:03
|
Revision: 1899
http://sourceforge.net/p/assorted/svn/1899
Author: yangzhang
Date: 2017-05-12 21:57:02 +0000 (Fri, 12 May 2017)
Log Message:
-----------
Add reconnect.bash
Added Paths:
-----------
configs/trunk/src/cron/reconnect.bash
Added: configs/trunk/src/cron/reconnect.bash
===================================================================
--- configs/trunk/src/cron/reconnect.bash (rev 0)
+++ configs/trunk/src/cron/reconnect.bash 2017-05-12 21:57:02 UTC (rev 1899)
@@ -0,0 +1,5 @@
+if ! ip addr | grep -q 'inet 192.168.168' ; then
+ sudo modprobe -r rtl8187
+ sleep 1
+ sudo modprobe rtl8187
+fi &>> /tmp/reconnect.log
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|