[PC-BSD Commits] r489 - pcbsd/trunk/wificonfig

svn at pcbsd.org svn at pcbsd.org
Mon Jul 16 08:54:26 PDT 2007


Author: kris
Date: 2007-07-16 16:54:26 +0100 (Mon, 16 Jul 2007)
New Revision: 489

Modified:
   pcbsd/trunk/wificonfig/wificonfigwidgetbase.ui.h
Log:

Fix so when you click Apply or OK to save wifi config, it properly
restarts the device



Modified: pcbsd/trunk/wificonfig/wificonfigwidgetbase.ui.h
===================================================================
--- pcbsd/trunk/wificonfig/wificonfigwidgetbase.ui.h	2007-07-16 01:10:06 UTC (rev 488)
+++ pcbsd/trunk/wificonfig/wificonfigwidgetbase.ui.h	2007-07-16 15:54:26 UTC (rev 489)
@@ -189,15 +189,15 @@
     }
 
 
-     runCommand("chmod 755 /tmp/.netrestart.sh");
+     runCommand("chmod 755 /tmp/.netrestart.sh ; sh /tmp/.netrestart.sh");
      
        pushApply->setEnabled(FALSE);
 
-       netifProc = new QProcess( this );
-       netifProc->addArgument( "/tmp/.netrestart.sh" );
+       // netifProc = new QProcess( this );
+       // netifProc->addArgument( "/tmp/.netrestart.sh" );
 
-       if ( !netifProc->start() ) {
-       }
+       // if ( !netifProc->start() ) {
+       // }
        
     
 }



More information about the Commits mailing list