From 77b9e72bc0bc2bc2e93599ada1efa7c4a1c826e4 Mon Sep 17 00:00:00 2001 From: Alexander Date: Sat, 24 Feb 2024 16:53:01 +0100 Subject: [PATCH] fix inittab --- RESOURCES/OPTIONS/uart/uart.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RESOURCES/OPTIONS/uart/uart.sh b/RESOURCES/OPTIONS/uart/uart.sh index 07fd9e4..2565f46 100755 --- a/RESOURCES/OPTIONS/uart/uart.sh +++ b/RESOURCES/OPTIONS/uart/uart.sh @@ -70,7 +70,7 @@ echo -e "${GREEN}INFO: The boot0 file has been copied${NC}" # Overwrite the inittab file echo -e "${YELLOW}INFO: Overwriting the inittab file ...${NC}" -cat <"$target_folder/etc/inittab" +cat <"$ROOTFS_DIR/etc/inittab" ::sysinit:/etc/init.d/rcS S boot ::shutdown:/etc/init.d/rcS K shutdown ::askconsole:/bin/ash --login