Magellan Linux

Diff of /trunk/initscripts/systemd/units/scripts/network.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1382 by niro, Sat Jun 4 22:43:57 2011 UTC revision 1665 by niro, Fri Jan 20 23:01:04 2012 UTC
# Line 204  config_wireless_wpa() Line 204  config_wireless_wpa()
204   fi   fi
205    
206   # remove old state dir   # remove old state dir
207   [ -d /var/run/wpa_supplicant ] && rm -rf /var/run/wpa_supplicant   [ -d /run/wpa_supplicant ] && rm -rf /run/wpa_supplicant
208    
209   # now run the wpa_supplicant dameon   # now run the wpa_supplicant dameon
210   wpa_supplicant -B \   wpa_supplicant -B \
# Line 555  networking_stop() Line 555  networking_stop()
555   done   done
556    
557   # remove state dir   # remove state dir
558   if [ -d /var/run/wpa_supplicant ]   if [ -d /run/wpa_supplicant ]
559   then   then
560   rm -rf /var/run/wpa_supplicant   rm -rf /run/wpa_supplicant
561   fi   fi
562    
563   # delete user routes   # delete user routes

Legend:
Removed from v.1382  
changed lines
  Added in v.1665