Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/usr.sbin/bsdconfig/examples/add_some_packages.sh
105240 views
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
6
nonInteractive=1
7
_httpPath=http://pkg.freebsd.org
8
mediaSetHTTP
9
mediaOpen
10
for package in wget bash rsync; do
11
packageAdd
12
done
13
14