Basic Script Explanation
So here I am working on the InstaDMG setup for my company and I run a basic test:
Put 10.4 retail DVD into the BaseOS folder, put the basic instauser script in place, kick it off.
It runs but refuses to quit/finnish.
So I figure there are some items in the script that need to be changed or specifically stated.
I start reading the script.
Item 1) my scripting skills are woefully underused and underdeveloped
Item 2) I cannot tell how up to date the comments are.
Several of the comments say "this will be automated in future releases" or something to that effect, and I am nearly certain some of those items are already automatic.
One comment/code line in particular has me very confused:
[code]# ASR target volume. Make sure you set it to the correct thing! In a future release this, and most variables, will be a getopts parameter.
ASR_TARGET_VOLUME=/Volumes/foo
[/code]
It says to set it to the correct value..... I thought the target was going to be the disk image that the script is creating so that should really be a static or nearly static value....
(now for the super simple question that I am only asking because I would rather look stupid and get an answer than be stupid without one)
What am I supposed to set that line to? Am I supposed to change the caps section to the name of the target volume (that makes no sense) or the part that says foo (is foo some sort of universal place holder i am unaware of?)?
I am certain people are rolling their eyes at me, but I am genuinely confused by this......