Jesse Keating wrote:
On Tuesday 21 March 2006 23:41, Dan Trainor wrote:
Hi -
It's late. How about I also provide an example of the kind of command
which I'm trying to execute:
/path/to/command write /path/to/destination/file 3301 100 $SLSQLUID
STRING1 $SQLUSER $SQLPASS 0 3306 127.0.0.1 theDatabase
I've tried most every variation of a one-liner which I can think of.
Calling the variables ${VARIABLE}, doing `echo ${VARIABLE}`, and so on.
I can't get them to print their values. I can only get them to print
their literal values.
It would be best to put your commands into a bash script and call this script
from %post. wget it from a web address (no DNS use IP) and then execute it.
Good morning, Jesse -
I completely agree. However, for these installs, I cannot assume that
this install will have connectivity to grab such a script. That's why
I'd like to do it all from %post in this manner.
Like I said, everything else works, except this "special" line.
Thanks
--
- Dan Trainor
- id-Confirm, Inc.
- Direct: 720.241.5580