RE: Two line Do Shell Script
RE: Two line Do Shell Script
- Subject: RE: Two line Do Shell Script
- From: "Alatorre, Michael" <email@hidden>
- Date: Mon, 29 Jul 2002 10:18:53 -0700
Thank you to Bill Fancher and Steve Harley for the answers to my original
question/stumbling block.
I ended up using their suggestion in the Terminal tell block instead of the
'do shell script' since the Cisco shell scripts require user input for
proper setup.
Michael Alatorre (
mailto:email@hidden)
EIS Liaison Analyst
Cedars-Sinai Health System (
http://www.cedars-sinai.edu/)
Medical Affairs: 310.423.6237 310.423.0448 (fax)
"Honor knows no statute of limitations." -- Mark Twain
>
----------
>From: Alatorre, Michael
>Sent: Thursday, July 25, 2002 1:20 PM
>To: 'email@hidden'
>Subject: Two line Do Shell Script
>
>My UNIX/scripting knowledge is holding me back on this one. I'm
attempting to automate the >installation process of Cisco's VPN client for
OS X (using their install shell script), copying >our customized profile
file and GUI app over, and doing restart. Everything but running that >shell
script I can AppleScript.
>
>When you do this manually it requires opening a Terminal session
and entering the following two >commands:
>
>cd vpnclient
>./vpn_install
>
>It seems that you must be within that sub-directory to launch the
script and successfully >install the files and set the permissions. You must
also be logged as Root. I'm estimating that >using 'do shell script with
administrators privileges' should also work. I've submitted single >line do
shell scripts before, but how do you do those two lines in a one line do
shell script? >Possible, or is there another method to get this done? Thank
you in advance for any >enlightenment.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.