I am trying to write a really simple script to install postfix. my script begins like this :
#!/bin/sh echo "this is a script tp install postfix for virtual domains " apt-get install postfix-mysql apt-get install mutt apt-get install telnet apt get install mysql-common mysql-client mysql-server libmysqlclient15-dev sysv-rc-conf apt-get instal openssl apt-get install libsasl2 libsasl2-modules libsasl2-modules-sql libauthen-sasl-cyrus-perl libauthen-sasl-perl apt-get install courier-base courier-authlib-mysql courier-ssl courier-pop sysv-rc-conf --level 235 mysqld on sysv-rc-conf --level 235 postfix on apt-get install apache2 apt-get install vim ..... and so on but as soon as the scipt executes it tries to install postfix-mysql , the apt-get progam asks the question " Do you want to continue [Y/n]? " i have to keep pressing " y " ...... what do i put in my script that will automate this , without asking me the question " Do you want to continue [Y/n]?" Thanks for all the help!! -- Regards Agnello Dsouza www.linux-vashi.blogspot.com -- Regards Agnello Dsouza www.linux-vashi.blogspot.com www.study-the-word.blogspot.com [Non-text portions of this message have been removed]
