From 0122aae0f2af0e043a1887effb9f4d8621d5e774 Mon Sep 17 00:00:00 2001 From: blogic Date: Wed, 13 Mar 2013 18:11:00 +0000 Subject: [ar71xx] make sure the console works when using procd as our pid 1 Signed-off-by: John Crispin git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36000 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar71xx/base-files.mk | 2 ++ 1 file changed, 2 insertions(+) (limited to 'target/linux/ar71xx') diff --git a/target/linux/ar71xx/base-files.mk b/target/linux/ar71xx/base-files.mk index d6682bd38..5ee4dbd6d 100644 --- a/target/linux/ar71xx/base-files.mk +++ b/target/linux/ar71xx/base-files.mk @@ -1,5 +1,7 @@ define Package/base-files/install-target rm -f $(1)/etc/config/network + $(if $(CONFIG_PROCD_INIT),rm -f $(1)/etc/uci-defaults/00_inittab-console-fixup) + $(if $(CONFIG_PROCD_INIT),echo "::askconsole:/bin/ash --login" >> $(1)/etc/inittab) endef -- cgit v1.2.3