# HG changeset patch # User Pascal Bellard # Date 1214240079 0 # Node ID 939d1e5cfa3d01efcd864506b750345802e1ca6d # Parent bfbb1b457dc45ce5bc694a91bbbe2e563551eb42 netbox: add wpa support diff -r bfbb1b457dc4 -r 939d1e5cfa3d tinyutils/netbox --- a/tinyutils/netbox Mon Jun 23 15:16:13 2008 +0000 +++ b/tinyutils/netbox Mon Jun 23 16:54:39 2008 +0000 @@ -96,8 +96,18 @@ or static IP, and setup servers. Netbox can start or stop networking, configure network interfaces or directly edit files." - - + + + + + + + ' @@ -349,7 +359,7 @@ ' NET_BOX="$NET_BOX$tmp" tmp=' - + + + + ' +[ -n "$WPA_OPTIONS" ] && tmp2="$tmp2$WPA_OPTIONS" +tmp3=' + WPA_OPTS + + + + + + + + + + /etc/wpa_supplicant.conf + WPA_CONF + + + + + + + + ' +[ -x /usr/bin/wpa_supplicant ] && tmp="$tmp$tmp2$tmp3" +tmp2=' + + + + + + + ' +[ -x /usr/bin/wpa_supplicant ] || tmp="$tmp$tmp2" +tmp2=' +