]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - usr.sbin/bsdconfig/examples/add_some_packages.sh
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / usr.sbin / bsdconfig / examples / add_some_packages.sh
1 #!/bin/sh
2 # $FreeBSD$
3 #
4 # This sample installs a short list of packages from the main HTTP site.
5 #
6 [ "$_SCRIPT_SUBR" ] || . /usr/share/bsdconfig/script.subr || exit 1
7 nonInteractive=1
8 _httpPath=http://pkg.freebsd.org
9 mediaSetHTTP
10 mediaOpen
11 for package in wget bash rsync; do
12         packageAdd
13 done