From f086f31f2e7c0418d888a2db5accf78ae0e5d8e0 Mon Sep 17 00:00:00 2001 From: merakor Date: Fri, 12 Mar 2021 10:47:17 +0000 Subject: cpt-chroot: add manual page output FossilOrigin-Name: 544a7e5d86eb5e1b8804a9ca907fee663a42a2632e820d62f37f07f66001beeb --- contrib/cpt-chroot | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'contrib') diff --git a/contrib/cpt-chroot b/contrib/cpt-chroot index fa66e84..2f7eee7 100755 --- a/contrib/cpt-chroot +++ b/contrib/cpt-chroot @@ -1,6 +1,16 @@ #!/bin/sh -e # Enter a chroot +## SYNOPSIS: +## .Nm cpt-chroot +## .Op Ar dir + +## DESCRIPTION: +## .Nm +## is a wrapper script to chroot inside other root filesystems. It automatically +## mounts important filesystems in to the chroot directory, and unmounts them +## when the user exits the chroot and cleans up leftover host files. + log() { printf '\033[32m->\033[m %s.\n' "$*" } -- cgit v1.2.3