Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Apr 2014 11:51:46 -0400
From:      Fbsd8 <fbsd8@a1poweruser.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   10.0 + pkgng
Message-ID:  <53529B92.1070909@a1poweruser.com>

next in thread | raw e-mail | index | archive | help
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?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53529B92.1070909>