On 21/09/2015 15:52, Karl Palsson wrote:
>> --- a/package/base-files/files/etc/rc.button/reset
>> > +++ b/package/base-files/files/etc/rc.button/reset
>> > @@ -19,7 +19,7 @@ released)
>> >    elif [ "$SEEN" -gt 5 ]
>> >    then
>> >            echo "FACTORY RESET" > /dev/console
>> > -          jffs2reset -y && reboot &
>> > +          jffs2reset -y && reboot -f &
> This seems out of scope for this patch.

and wrong as it will skip the ordered shut down thus keeping modem
connections alive, not syncing the mtd and block devices and probably
lots of other stuff

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

Reply via email to