- Execute scripts from specified directory. This allows customisation of
- the system after the chroot has been set up. The environment variable
- $MNTPOINT is available inside the scripts for direct access of the chroot.
- Default directory: /etc/debootstrap/scripts/
+ When using *--pre-scripts* without the optional '=<_directory_>'
+ parameter, it enables executing scripts from the default
+ '<confdir>/pre-scripts/' directory before executing the chroot script.
+ If the optional parameter is given, execute scripts from the specified
+ directory instead. This allows customization of the system before the
+ chroot has been set up. The environment variable $MNTPOINT is available
+ inside the scripts for direct access of the chroot.
+
+*--scripts*[=<_directory_>]::
+
+ When using *--scripts* without the optional '=<_directory_>' parameter,
+ it enables executing scripts from the default '<confdir>/scripts/'
+ directory after the chroot has been set up. If the optional parameter is
+ given, execute scripts from the specified directory instead. This allows
+ customisation of the system after the chroot has been set up. The
+ environment variable $MNTPOINT is available inside the scripts for
+ direct access of the chroot.