diff options
-rw-r--r-- | utils/ypr0tools/files/common/etc/inittab | 7 | ||||
-rwxr-xr-x | utils/ypr0tools/patch-firmware.sh | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/utils/ypr0tools/files/common/etc/inittab b/utils/ypr0tools/files/common/etc/inittab new file mode 100644 index 0000000000..50fb056a34 --- /dev/null +++ b/utils/ypr0tools/files/common/etc/inittab | |||
@@ -0,0 +1,7 @@ | |||
1 | # see busybox-1.00rc2/examples/inittab for more examples | ||
2 | ::sysinit:/etc/rc.d/rc.start | ||
3 | ::respawn:/etc/autologin ttymxc0 login -f root | ||
4 | ::ctrlaltdel:/sbin/reboot | ||
5 | ::shutdown:/etc/rc.d/rc.reboot | ||
6 | ::restart:/sbin/init | ||
7 | ::respawn:/sbin/getty -n -l /bin/sh 115200 /dev/ttyGS0 | ||
diff --git a/utils/ypr0tools/patch-firmware.sh b/utils/ypr0tools/patch-firmware.sh index acc1b48631..07ec6f0dd7 100755 --- a/utils/ypr0tools/patch-firmware.sh +++ b/utils/ypr0tools/patch-firmware.sh | |||
@@ -113,6 +113,8 @@ echo "Patching rootfs ($MODEL files)" | |||
113 | MODEL_FILES="$FILES/$MODEL" | 113 | MODEL_FILES="$FILES/$MODEL" |
114 | echo "cp -r $MODEL_FILES/* $ROOTFS/" | 114 | echo "cp -r $MODEL_FILES/* $ROOTFS/" |
115 | cp -r $MODEL_FILES/* $ROOTFS/ | 115 | cp -r $MODEL_FILES/* $ROOTFS/ |
116 | rm -rf $ROOTFS/dev/ttyGS0 | ||
117 | mknod $ROOTFS/dev/ttyGS0 c 127 0 | ||
116 | 118 | ||
117 | echo "Packing new cramfs image" | 119 | echo "Packing new cramfs image" |
118 | cramfs-1.1/mkcramfs $ROOTFS $CRAMFS | 120 | cramfs-1.1/mkcramfs $ROOTFS $CRAMFS |