|
|
@ -48,6 +48,7 @@ if [ ! "x${conf_smart_uboot}" = "xenable" ] ; then
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [ -f /etc/inittab ] ; then
|
|
|
|
if [ "x${serial_tty}" != "x" ] ; then
|
|
|
|
if [ "x${serial_tty}" != "x" ] ; then
|
|
|
|
cp /etc/inittab /boot/uboot/backup/inittab
|
|
|
|
cp /etc/inittab /boot/uboot/backup/inittab
|
|
|
|
serial_num=$(echo -n "${serial_tty}"| tail -c -1)
|
|
|
|
serial_num=$(echo -n "${serial_tty}"| tail -c -1)
|
|
|
@ -63,6 +64,7 @@ if [ "x${serial_tty}" != "x" ] ; then
|
|
|
|
else
|
|
|
|
else
|
|
|
|
echo "WARN: [serial_tty] was undefined..." >> /var/log/netinstall.log
|
|
|
|
echo "WARN: [serial_tty] was undefined..." >> /var/log/netinstall.log
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
if [ "x${boot_fstype}" = "xfat" ] ; then
|
|
|
|
if [ "x${boot_fstype}" = "xfat" ] ; then
|
|
|
|
echo "${bootdrive}p1 /boot/uboot auto defaults 0 2" >> /etc/fstab
|
|
|
|
echo "${bootdrive}p1 /boot/uboot auto defaults 0 2" >> /etc/fstab
|
|
|
|