network) reload_network;;
'
HANDLERS_file='
- hosts) rm -f /etc/hosts; mv $config /etc/hosts;;
- ethers) rm -f /etc/ethers; mv $config /etc/ethers;;
+ hosts) rm -f /etc/hosts; mv $config /etc/hosts; killall -HUP dnsmasq ;;
+ ethers) rm -f /etc/ethers; mv $config /etc/ethers; killall -HUP dnsmasq ;;
'
reload_network() {
wpa1wpa2) save_setting wireless wl0_akm "psk psk2";;
esac
save_setting wireless wl0_wpa_psk "$FORM_wpa_psk"
+ save_setting wireless wl0_wep "disabled"
;;
wpa)
case "${FORM_wpa1}${FORM_wpa2}" in
esac
save_setting wireless wl0_radius_ipaddr "$FORM_radius_ipaddr"
save_setting wireless wl0_radius_key "$FORM_radius_key"
+ save_setting wireless wl0_wep "disabled"
;;
wep)
save_setting wireless wl0_wep enabled