From: Christian Hofstaedtler Date: Mon, 11 Oct 2010 11:30:15 +0000 (+0200) Subject: document run-parts restrictions for script= option. [Closes: issue906] X-Git-Tag: v0.9.14~11 X-Git-Url: https://git.grml.org/?p=grml-autoconfig.git;a=commitdiff_plain;h=7920da3c846427d629ec06fd21651ae3084e7f00 document run-parts restrictions for script= option. [Closes: issue906] --- diff --git a/doc/grml-autoconfig.current.txt b/doc/grml-autoconfig.current.txt index 80f4eae..6806309 100644 --- a/doc/grml-autoconfig.current.txt +++ b/doc/grml-autoconfig.current.txt @@ -86,10 +86,12 @@ extract:: scripts:: This parameter executes scripts. If an optional path is given, it is - relative to DCSDIR. If it points to a directory, all scripts inside this - directory are executed. If the path points to a file, this single file is - executed. If no path is given, it defaults to scripts/grml.sh. Usage - examples: + relative to DCSDIR. If the path points to a file, this single file is + executed. If no path is given, it defaults to scripts/grml.sh. + If the given name points to a directory, all scripts inside it are + executed, but the run-parts name restrictions apply: script names must + consist entirely of upper and lower case letters, digits, underscores, + and hyphens. Usage examples: scripts => run script DCSDIR/scripts/grml.sh scripts=foobar.sh => run script foobar.sh in DCSDIR