[OpenWrt-Devel] Q: autoupload a configuration file

Bastian Bittorf bittorf at bluebottle.com
Wed Jan 28 09:44:40 EST 2015


* Dan Therrien <dtherrien1 at gmail.com> [28.01.2015 15:40]:
> I would be very interested on how your autoupload of a configuration file works?

// CC'ed openwrt-dev, maybe it's interesting for others too

is mostly the function: watch_configchange()
https://github.com/bittorf/kalua/blob/master/openwrt-addons/etc/kalua/watch#L9

is polluted with our own logic, but you get the idea:
a tar.gz is uploaded via scp (public keys must be on server)
when the hash of /etc/config/* changes...

bye, bastian
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list