I have an IBM 600 laptop running 7.2 and it has an internal ACP (Win Modem).  
I downloaded a driver from the IBM website and installed it fine and the 
modem works well.  It's just that after start-up and rebooting, I have to su 
in and give root password and issue the following commands.

#!/bin/bash
cd /usr/mwave/mw*
insmod mwavedd
setserial ttyS1 autoconfig
./mwavem

I wrote a script to do this portion called acpsetup.  How do I write the 
script to have it login as su and supply the password and issue the commands. 
I'd like to get it down to one simple ./acpsetup command to handle everything.

Thanks,

Michael

Reply via email to