Hello all,

I am studying the OpenWRT configuration manager (UCI) and I am wondering if 
there is a way in order to accomplish the "reload" automatically, because if I 
understand correctly:

root@OpenWrt:~# uci add firewall rule
root@OpenWrt:~# uci set firewall.@rule[-1].src=wan
root@OpenWrt:~# uci set firewall.@rule[-1].target=ACCEPT
root@OpenWrt:~# uci set firewall.@rule[-1].proto=tcp
root@OpenWrt:~# uci set firewall.@rule[-1].dest_port=22
root@OpenWrt:~# uci commit firewall

Then to make effective the new settings I need to run :

root@OpenWrt:~# /etc/init.d/firewall restart

There is a way to do that automatically ??!

Thanks,

Pietro.

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to