xref: /freebsd/usr.sbin/bsdconfig/examples/add_some_packages.sh (revision fe75646a0234a261c0013bf1840fdac4acaf0cec)
1#!/bin/sh
2#
3# This sample installs a short list of packages from the main HTTP site.
4#
5[ "$_SCRIPT_SUBR" ] || . /usr/share/bsdconfig/script.subr || exit 1
6nonInteractive=1
7_httpPath=http://pkg.freebsd.org
8mediaSetHTTP
9mediaOpen
10for package in wget bash rsync; do
11	packageAdd
12done
13