svn commit: r225937 - in head: . release release/amd64 release/i386 release/ia64 release/pc98 release/powerpc release/scripts release/sparc64 usr.sbin usr.sbin/sysinstall

Daniel O'Connor doconnor at gsoft.com.au
Tue Oct 4 02:01:04 UTC 2011


On 04/10/2011, at 8:41, Craig Rodrigues wrote:
> Can bsdinstall be used as a drop-in replacement for
> sysinstall when run with the "SCRIPT SYNTAX" batch mode?
> If not, how much code would need to be added to bsdinstall?  Or, is there
> some other utility, such as something from the PC-BSD suite of scripts,
> that can be used as a drop-in replacement for sysinstall in "SCRIPT
> SYNTAX" mode?

No it can't, but speaking as someone who used this feature in sysinstall… Good riddance :)

I wrote a shell script which does an install itself (i.e. no bsdinstall - which is just [mostly] a shell script).

It is 200 lines, a fair chunk of which is pre-canned stuff to go into rc.conf, loader.conf, etc..

http://www.gsoft.com.au/~doconnor/install-os.sh

I also modified the rc.local script the installer uses to add an option to call my script.

> Thanks.
> -- 
> Craig Rodrigues
> rodrigc at crodrigues.org
> _______________________________________________
> svn-src-all at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/svn-src-all
> To unsubscribe, send any mail to "svn-src-all-unsubscribe at freebsd.org"
> 

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C








More information about the svn-src-head mailing list