Update documentation with correct traditional SysV inittab syntax

- Fix inittab examples in ISO_MODIFICATION_WORKFLOW.md
- Replace agetty --autologin with getty -a root syntax
- Use standard 38400 baud rate format
- Ensure all examples match traditional SysV init compatibility
parent 2624ae31
...@@ -29,15 +29,15 @@ Now you can edit any files in the extracted filesystem: ...@@ -29,15 +29,15 @@ Now you can edit any files in the extracted filesystem:
# Fix inittab directly # Fix inittab directly
sudo nano iso_work/squashfs_root/etc/inittab sudo nano iso_work/squashfs_root/etc/inittab
# Example of proper inittab format for autologin: # Example of proper SysV inittab format for autologin:
# id:2:initdefault: # id:2:initdefault:
# si::sysinit:/etc/init.d/rcS # si::sysinit:/etc/init.d/rcS
# 1:23:respawn:/sbin/agetty --autologin root --noclear tty1 linux # 1:23:respawn:/sbin/getty -a root 38400 tty1
# 2:23:respawn:/sbin/agetty --noclear tty2 linux # 2:23:respawn:/sbin/getty 38400 tty2
# 3:23:respawn:/sbin/agetty --noclear tty3 linux # 3:23:respawn:/sbin/getty 38400 tty3
# 4:23:respawn:/sbin/agetty --noclear tty4 linux # 4:23:respawn:/sbin/getty 38400 tty4
# 5:23:respawn:/sbin/agetty --noclear tty5 linux # 5:23:respawn:/sbin/getty 38400 tty5
# 6:23:respawn:/sbin/agetty --noclear tty6 linux # 6:23:respawn:/sbin/getty 38400 tty6
# Or edit any other files: # Or edit any other files:
sudo nano iso_work/squashfs_root/root/.bashrc sudo nano iso_work/squashfs_root/root/.bashrc
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment