sh -c $SCRIPTS
elif [ -d "$SCRIPTS" ]; then
einfo "Bootparameter scripts found. Trying to execute from directory ${SCRIPTS}:"
- run-parts $SCRIPTS
+ run-parts --regex '.*' $SCRIPTS
else
einfo "Bootparameter scripts found. Trying to execute ${SCRIPTS}:"
sh -c $SCRIPTS
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:
+ executed. Usage examples:
scripts => run script DCSDIR/scripts/grml.sh
scripts=foobar.sh => run script foobar.sh in DCSDIR