FreeBSD 10 Force yes on pkg

Hey all,

I'm trying to update my hardening scripts for FreeBSD 10. I can't find a way to suppress pkg from asking y/n when installing packages. Am I just missing something? I can't find any info anywhere. Is it incapable? -y, -f etc all do nothing. It still asks. There's nothing in the man page. Please help.

Thank you.
 
detriment said:
There's nothing in the man page.
pkg.conf(5):
ASSUME_ALWAYS_YES: boolean When this option is enabled pkg(1) will auto-
matically assume "yes" to all questions which
require user confirmation before doing any-
thing, as if it the -y flag was specified.
By default this option is disabled.
 
Back
Top