On 31 May 2011 04:19, Xn Nooby <xno...@gmail.com> wrote: > Hello. I wrote a script to install FreeBSD 8.2 on to a real machine, > or a 64-bit Virtualbox VM. It has a modular approach where you can > pick which functions will be run on a different target system. It can > be tweaked easily. I wrote it so that I could do a quick "plain > vanilla install", and then run this script to set up my user, SVN > server, gnome, firefox4, flash, nvidia driver, vbox additons, and > other things. I thought I would post it in case other beginners need > some thing like this to help them configure a machine. I started off > with detailed notes, then thought I might as well script it. When you > run it, the only user interaction is having to enter the user password > twice. Let me know if anyone has any suggestions.
How about using $1 instead of theuser? You could always have ${1:-theuser} instead to have a default of theuser, but take the value for username as the first argument. Chris _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"