10.0 + pkgng

Fbsd8 fbsd8 at a1poweruser.com
Sat Apr 19 15:51:54 UTC 2014

The handbook says to activate pkgng on a newly installed 10.0 system by 
first executeing /usr/sbin/pkg followed by pkg2ng. Both these programs 
issue message that you have to enter [y or n] to continue. I want to 
bury these commands in a script. There is no -y flag to bypass that 
message. What is best method to code script to answer "y" to automate 
script processing?

More information about the freebsd-questions mailing list