Re: [OpenWrt-Devel] Question on conffiles define / nodogsplash

2013-04-06 Thread Gui Iribarren

On 04/06/2013 02:55 PM, Saverio Proto wrote:

Hello,

I have a personal version of nodogsplash OpenWRT package and I noticed
today I was missing this patch from the main tree:

https://github.com/ninuxorg/ninux-openwrt-packages/commit/92f90fae6ef6e29f789c2c7a539c4a3efb31b70d

when I added this:

define Package/nodogsplash/conffiles
/etc/nodogsplash/nodogsplash.conf
endef

did I made my system smarter so that the file
/etc/nodogsplash/nodogsplash.conf is saved automatically when I do
sysupgrade ?


Yes, your guess is correct; it works like that.

that ends up adding a file to the final package

/lib/upgrade/keep.d/nodogsplash

which makes sysupgrade save /etc/nodogsplash/nodogsplash.conf before 
reflashing


cheers!

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


[OpenWrt-Devel] Question on conffiles define / nodogsplash

2013-04-06 Thread Saverio Proto
Hello,

I have a personal version of nodogsplash OpenWRT package and I noticed
today I was missing this patch from the main tree:

https://github.com/ninuxorg/ninux-openwrt-packages/commit/92f90fae6ef6e29f789c2c7a539c4a3efb31b70d

when I added this:

define Package/nodogsplash/conffiles
/etc/nodogsplash/nodogsplash.conf
endef

did I made my system smarter so that the file
/etc/nodogsplash/nodogsplash.conf is saved automatically when I do
sysupgrade ?
if not, what is the difference without this patch ?

thanks

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