author | benmeyer <benmeyer> | 2002-12-17 21:43:58 (UTC) |
---|---|---|
committer | benmeyer <benmeyer> | 2002-12-17 21:43:58 (UTC) |
commit | 8e895c00e6f77d897033e0e473d6e823e684590c (patch) (side-by-side diff) | |
tree | 831338a161d944b9d42395acd335c014e17ce979 /noncore/net/networksetup/wlan/wlanimp.cpp | |
parent | ec9bf724d124b96626a17021a7b4f409c54d60af (diff) | |
download | opie-8e895c00e6f77d897033e0e473d6e823e684590c.zip opie-8e895c00e6f77d897033e0e473d6e823e684590c.tar.gz opie-8e895c00e6f77d897033e0e473d6e823e684590c.tar.bz2 |
Caption Fix
Diffstat (limited to 'noncore/net/networksetup/wlan/wlanimp.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/networksetup/wlan/wlanimp.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/net/networksetup/wlan/wlanimp.cpp b/noncore/net/networksetup/wlan/wlanimp.cpp index 648932f..1782c22 100644 --- a/noncore/net/networksetup/wlan/wlanimp.cpp +++ b/noncore/net/networksetup/wlan/wlanimp.cpp @@ -228,12 +228,15 @@ void WLANImp::accept(){ // Restart the device now that the settings have changed QString initpath; if( QDir("/etc/rc.d/init.d").exists() ) initpath = "/etc/rc.d/init.d"; else if( QDir("/etc/init.d").exists() ) initpath = "/etc/init.d"; + + // It would be kinda cool if we didn't have to do this and could just to ifup/down + if( initpath ) system(QString("%1/pcmcia stop").arg(initpath)); if( initpath ) system(QString("%1/pcmcia start").arg(initpath)); // Close out the dialog |