Re: [newbie] How to write a bash login script?

2001-06-08 Thread Michael Lewis
Thanks to everyone for the help. I'm just starting to learn scripting. I'm also going to get the O'Reilly book on Expect. Someone else suggested that as a good place to start. Nico, you may want to look at the IBM support site for the driver for your modem. I just did a quick search and

Re: [newbie] How to write a bash login script?

2001-06-08 Thread Nico Krzebek
Lucky you! I didn't get the softmodem on my TP570 (lucent modem) into a working state. Since your script needs to be run just once after system boot, you could for instance append the line /path_to_script/acpsetup to /etc/rc.d/rc.local, so it gets automatically executed when your box

[newbie] How to write a bash login script?

2001-06-07 Thread Michael Lewis
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.