From 420ba85a32652ab98ec25d1e7ffbabda2b7d6852 Mon Sep 17 00:00:00 2001 From: parazyd Date: Sun, 18 Dec 2016 13:54:07 +0100 Subject: [PATCH] update documentation about chroot-script --- doc/helper_functions.7.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/helper_functions.7.md b/doc/helper_functions.7.md index bf01c52..fd92a9c 100644 --- a/doc/helper_functions.7.md +++ b/doc/helper_functions.7.md @@ -50,5 +50,11 @@ so that apt doesn't autostart daemons when they are installed. this function will allow root login with password in the bootstrapped rootfs. +## chroot-script() +allows you to chroot inside the `$strapdir` and execute the +script/binary that's given to it. +takes an optional argument: `-d` (will call dpkgdivert on and off) + + ## silly() a funny function printing out random messages.