[OpenWrt-Devel] lantiq: failsafe mode not sound

2012-05-17 Thread Conor O'Gorman

There is mod in the target/lantiq/base-files.mk to remove the
standard /etc/config/network. There is then a runtime script to
determine defaults. 

This does not seem to work for failsafe mode, where /etc/config/network
cannot be created. At least that's what I see on a test. No eth0/lan
interface defined.

+define Package/base-files/install-target
+   rm -f $(1)/etc/config/network
+endef

I'll look at making a change to this. Are there any suggestions for a
preferred method?

Thanks,
Conor O'Gorman

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


Re: [OpenWrt-Devel] lantiq: failsafe mode not sound

2012-05-17 Thread Conor O'Gorman
On Thu, 2012-05-17 at 15:57 +0100, Conor O'Gorman wrote:

 This does not seem to work for failsafe mode, where /etc/config/network
 cannot be created. At least that's what I see on a test. No eth0/lan
 interface defined.

OK, this is rubbish because /etc/init.d/network doesn't run during in
failsafe?

Conor



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


Re: [OpenWrt-Devel] lantiq: failsafe mode not sound

2012-05-17 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 OK, this is rubbish because /etc/init.d/network doesn't run during in
 failsafe?

No because the overlay is not mounted in failsafe, thats quite normal
and also seen on e.g. brcm47xx or ar71xx.

Tried mount_root when in failsafe?

~ Jow
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+1HGQACgkQdputYINPTPPbswCeOgyImJWZ5CGIKGcFEMvN3mgX
VC0An2jyTi5n/XIpqmDfDDqdPLzRZX0P
=MaXh
-END PGP SIGNATURE-
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel