mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
[ar71xx] make sure the console works when using procd as our pid 1
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36000 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
a95bb0d75b
commit
dcb02ff080
@ -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…
x
Reference in New Issue
Block a user