[issue906] grml-autoconfig(1) mention name restriction for scripts due to run-parts

Christian Hofstaedtler bts at bts.grml.org
Mon Oct 11 13:31:30 CEST 2010


Christian Hofstaedtler <ch+grmlbts at zeha.at> added the comment:

Documentation patch.

----------
files: 0001-document-run-parts-restrictions-for-script-option.patch
messages: 3353, 3371
nosy: ch, mru
priority: bug
status: chatting
title: grml-autoconfig(1) mention name restriction for scripts due to run-parts

_____________________________________
GRML issue tracker <bts at bts.grml.org>
<http://bts.grml.org/grml/issue906>
_____________________________________
-------------- next part --------------
>From 97c14f44b10c026d61e564a07424ed08a2994ba6 Mon Sep 17 00:00:00 2001
From: Christian Hofstaedtler <ch+git at zeha.at>
Date: Mon, 11 Oct 2010 13:30:15 +0200
Subject: [PATCH] document run-parts restrictions for script= option

fixes issue906.
---
 doc/grml-autoconfig.current.txt |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

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
-- 
1.7.1



More information about the Bugs-changes mailing list