Hi ! On 23.05.2014 15:16, Felix Fietkau wrote:
- submit it as a patch to procd git instead of openwrt - rename the command to 'exec' or something like that. It could be used for more than just sysupgrade. - make "arguments" a string array and maybe combine it with "command" - maybe add an optional attribute for the directory to chdir() into (because of what daniel pointed out wrt. relative image path)
Thanks for taking a look. I totally agree to the points you made. I also was unsure if this "exec as init" function should be some kind of general stuff. The first thing I thought of was resizing the rootfs volume, or swapping it,... But I will not continue the generic part as you perhaps read. -- André _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
