projects
/
openwrt
/
staging
/
zorun.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9faa312
)
make sure the console works when using procd as our pid 1
author
John Crispin
<john@openwrt.org>
Wed, 13 Mar 2013 18:11:00 +0000
(18:11 +0000)
committer
John Crispin
<john@openwrt.org>
Wed, 13 Mar 2013 18:11:00 +0000
(18:11 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36000
target/linux/ar71xx/base-files.mk
patch
|
blob
|
history
diff --git
a/target/linux/ar71xx/base-files.mk
b/target/linux/ar71xx/base-files.mk
index d6682bd38846eaed660d9a9708dc836feae649b5..5ee4dbd6d834357160909fac57ab4daa256341ba 100644
(file)
--- 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