Skip to content
A script to pkg upgrade all running Jails
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
pkg-all-jails.sh

README.md

pkg-all-jails

This is a short script to run pkg update and pkg upgrade on each running jail on a FreeBSD system.

This doesn't need any configuration, because it grabs the JIDs from jls.

After updating each jail, it will restart those services that appear in /etc/rc.conf AFTER a line like '# AUTO RESTART' (initial # just so line is ignored by rc).

You can’t perform that action at this time.