Commit 862caf04 authored by Hamza Dely's avatar Hamza Dely
Browse files

/etc/config/eap_radius_key est effacé au premier boot de la borne

parent 79eee44d
......@@ -77,6 +77,7 @@ define Package/crans/install
$(INSTALL_DATA) files/lib/wifi/mac80211.sh $(1)/lib/wifi/mac80211.sh
$(INSTALL_DIR) $(1)/etc/uci-defaults/
$(INSTALL_BIN) files/etc/uci-defaults/dhcp.crans $(1)/etc/uci-defaults/dhcp.crans
$(INSTALL_BIN) files/etc/uci-defaults/eap.crans $(1)/etc/uci-defaults/eap.crans
$(INSTALL_DIR) $(1)/lib/netifd/
$(INSTALL_BIN) files/lib/netifd/dhcp.script $(1)/lib/netifd/dhcp.script
......
#!/bin/sh
# Script supprimant le fichier contenant la clé partagée avec les serveurs
# RADIUS au premier boot, puisque celle-ci est écrite dans /etc/config/wireless
rm -f /etc/config/eap_radius_key
exit 0
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment