Browse Source

[Improve][rootfs][sh]

2022.05.26 / Folus Wen

Actions:
1. Enable login in terminate mode.

Files:
1. As follow commit history

Image version: D0.00.XX.XXXX.XX
Image checksum: XXXXXXXX

Hardware PWB P/N : XXXXXXX
Hardware Version : XXXXXXX
Gogs 2 years ago
parent
commit
cfbcda9a4b
1 changed files with 2 additions and 1 deletions
  1. 2 1
      EVSE/rootfs/etc/inittab

+ 2 - 1
EVSE/rootfs/etc/inittab

@@ -4,7 +4,8 @@
 #
 # Start an "askfirst" shell on the serial port
 #console::askfirst:-/bin/ash
-ttyS0::respawn:-/bin/ash
+#ttyS0::respawn:-/bin/ash
+ttyS0::respawn:-/sbin/getty -L ttyS0 115200 vt102
 
 # Stuff to do when restarting the init process
 ::restart:/sbin/init