summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--target/linux/ar71xx/base-files.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files.mk b/target/linux/ar71xx/base-files.mk
index d6682bd388..5ee4dbd6d8 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