Re: [OpenWrt-Devel] [PATCH] dropbear: fix forever hanging startup when jffs2 fails to mount

2016-02-17 Thread Bastian Bittorf
* John Crispin [16.02.2016 18:39]: > > root@OpenWrt:~ mv -f /tmp/dropbear/dropbear_* /etc/dropbear/ > > mv: can't remove '/etc/dropbear/dropbear_rsa_host_key': Read-only file > > system > > this is really only fighting the symptoms. we dont really want to have > all scripts

Re: [OpenWrt-Devel] [PATCH] dropbear: fix forever hanging startup when jffs2 fails to mount

2016-02-16 Thread Bastian Bittorf
* John Crispin [16.02.2016 18:39]: > > fix that by using 'mv -f' which omits the interactive question: > > > > root@OpenWrt:~ mv -f /tmp/dropbear/dropbear_* /etc/dropbear/ > > mv: can't remove '/etc/dropbear/dropbear_rsa_host_key': Read-only file > > system > > > > this is

Re: [OpenWrt-Devel] [PATCH] dropbear: fix forever hanging startup when jffs2 fails to mount

2016-02-16 Thread John Crispin
On 16/02/2016 12:13, Bastian Bittorf wrote: > if something goes wrong while mounting jffs2 (e.g. full flash > and the mount is readonly) the dropbear-init script will hang > forever (and so the startup-procedure) asking: > > root@OpenWrt:~ /etc/init.d/dropbear boot > mv: overwrite

[OpenWrt-Devel] [PATCH] dropbear: fix forever hanging startup when jffs2 fails to mount

2016-02-16 Thread Bastian Bittorf
if something goes wrong while mounting jffs2 (e.g. full flash and the mount is readonly) the dropbear-init script will hang forever (and so the startup-procedure) asking: root@OpenWrt:~ /etc/init.d/dropbear boot mv: overwrite '/etc/dropbear/dropbear_rsa_host_key'? fix that by using 'mv -f'