I am working on some gentoo install scripts, there are 2 separate ones.
Here is part of the first script
echo "Enter your network interface (probally eth0)"
echo "Please enter the location of your hard drive (first ide hard drive /dev/hda second /dev/hdb etc.):"
echo "Do you want to run CFDISK? (ncurses based partition program) (y/n)"
if [ "$CFDISK" == y ]
if [ "$CFDISK" == n ]
I execute it, then it asks about CFDISK, i input, y - and it just skips over to the next part, then I try inputting n, and it skips over to the next part (like supposed to)
The problem is, when I input, y, it is supposed to execute CFDISK on the hard drive I entered?
Did I write something wrong - the simplest of help is appreciated