Skip to content

Instantly share code, notes, and snippets.

Created June 13, 2017 10:18
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save Savagedlight/e5f609defa04c06fba3b66be8b685e48 to your computer and use it in GitHub Desktop.
# "THE BEER-WARE LICENSE" (Revision 42):
# <> wrote this file. As long as you retain this notice you
# can do whatever you want with this stuff. If we meet some day, and you think
# this stuff is worth it, you can buy me a beer in return.
# Marie Helene Kvello-Aune, 13th June 2017.
cd /usr/src
echo "Found" `ls -ld /usr/jails/* | wc -l` "jails"
for d in /usr/jails/*/; do
/bin/echo -n `echo -e "${C_CYAN}Updating jail ${C_YELLOW}${d}${C_NONE}\t - "`
make installworld DESTDIR=${d} > /dev/null 2>&1
echo -e " ${C_GREEN}Done.${C_NONE}"
echo -e "${C_GREEN}Done.${C_NONE}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment