openwrtv4/target/linux/ar71xx/base-files.mk
John Crispin 043d56b646 make sure the console works when using procd as our pid 1
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36000
2013-03-13 18:11:00 +00:00

7 lines
247 B
Makefile

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