Hi, NAK, incorrect fix. this patch fixes the behavior of a script that is not even in trunk. jffs2reset on purpose asks for you to press y/N. Your patch breaks this behavior.
the correct fix is to pass $@ and then have your script pass -y. please send a patch that does that. John On 05/04/2014 11:57, Hannu Nyman wrote: > A patch to properly fix bug 15371 is attached. r39895 removed the > symlink to jffs2reset and broke reset capability. r40018 added > back /sbin/jffs2reset to comply with the new fstools package, but > a required "-y" parameter is missing from the script and reset is > still broken. > > https://dev.openwrt.org/ticket/15371#comment:4 > > My patch adds the "-y" parameter to the call in /sbin/jffs2reset > thus restoring the reset capability. Tested with revision 40380. > > signed-off-by: hnyman <hannu.ny...@iki.fi> > > > > > _______________________________________________ openwrt-devel > mailing list openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel > _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel