Hi,
Here is a solution,
in /lib/netifd/dhcp.script, add the following lines in the
setup_interface function
uci set system.@system[0].hostname="$hostname"
uci commit system
echo "$hostname" > /proc/sys/kernel/hostname
This is not a perfect solution, but it work.
--
Vivien FRENOT
Ecole Normale Supérieure de Cachan
Direction des Systèmes d'Information
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users