mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-31 04:53:01 +02:00
package/skeleton-init-finit: Run the getty in runlevel 9
Normally, no logins are actually possible, but this will have two desirable effects effects: - /etc/issue will be printed when hitting return over the console, allowing the user to see the bootstrapping errors again, without having to reboot the system. - On devleoper builds, with CONFIG_TARGET_ENABLE_ROOT_LOGIN, we can login as root and debug issues.
This commit is contained in:
@@ -21,9 +21,9 @@ define SKELETON_INIT_FINIT_GETTY
|
||||
if [ $(SYSTEM_GETTY_BAUDRATE) -eq 0 ]; then \
|
||||
SYSTEM_GETTY_BAUDRATE=""; \
|
||||
fi; \
|
||||
echo "tty [12345] $(SYSTEM_GETTY_PORT) $(SYSTEM_GETTY_BAUDRATE) $(SYSTEM_GETTY_TERM) noclear passenv"; \
|
||||
echo "tty [12345789] $(SYSTEM_GETTY_PORT) $(SYSTEM_GETTY_BAUDRATE) $(SYSTEM_GETTY_TERM) noclear passenv"; \
|
||||
else \
|
||||
echo "tty [12345] /sbin/getty -L $(SYSTEM_GETTY_OPTIONS) $(SYSTEM_GETTY_BAUDRATE) $(SYSTEM_GETTY_PORT) $(SYSTEM_GETTY_TERM)"; \
|
||||
echo "tty [12345789] /sbin/getty -L $(SYSTEM_GETTY_OPTIONS) $(SYSTEM_GETTY_BAUDRATE) $(SYSTEM_GETTY_PORT) $(SYSTEM_GETTY_TERM)"; \
|
||||
fi
|
||||
endef
|
||||
|
||||
|
||||
Reference in New Issue
Block a user