I have CentOS 6.5 x86_64 running as a VM on VMware[ESXi Host].
I have a simple script which asks for user inputs using read command & then stores them in a text file. For ex -
echo -e "Please enter IP"
echo "IP is - $IP" >> /tmp/input.txt
This script is executed as the 36th boot process [by creating a soft link /etc/rc.d/rc3.d/S36_bootprocessscript -> the actual script].
The issue I am facing is that when I manually execute the script as root user in an SSH session, the user input I type is displayed on the console. But during the boot process, it does not. The script properly accepts the user input & writes to the text file, but does not display it on console.
Is there anything wrong I am doing?
Kernel version - 2.6.32-431.17.1.el6.x86_64