make sure the console works when using procd as our pid 1
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36000
This commit is contained in:
parent
9faa312dbb
commit
043d56b646
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue