xref: /freebsd/usr.sbin/bsdconfig/examples/add_some_packages.sh (revision f4b37ed0f8b307b1f3f0f630ca725d68f1dff30d)
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
7nonInteractive=1
8_httpPath=http://pkg.freebsd.org
9mediaSetHTTP
10mediaOpen
11for package in wget bash rsync; do
12	packageAdd
13done
14