projects
/
grml-autoconfig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
673cc68
)
Report result of scripts execution
author
Michael Prokop
<mika@grml.org>
Mon, 6 Jan 2014 14:55:26 +0000
(15:55 +0100)
committer
Michael Prokop
<mika@grml.org>
Mon, 6 Jan 2014 14:55:26 +0000
(15:55 +0100)
autoconfig.functions
patch
|
blob
|
history
diff --git
a/autoconfig.functions
b/autoconfig.functions
index
22abae3
..
04bdc80
100755
(executable)
--- a/
autoconfig.functions
+++ b/
autoconfig.functions
@@
-1744,12
+1744,15
@@
if checkbootparam 'scripts' || [ "$DCSMP" = "/mnt/grmlcfg" ]; then
if [ "$DCSMP" = "/mnt/grmlcfg" ]; then
einfo "Trying to execute ${SCRIPTS}"
sh -c $SCRIPTS
+ eend $?
elif [ -d "$SCRIPTS" ]; then
einfo "Bootparameter scripts found. Trying to execute from directory ${SCRIPTS}:"
run-parts --regex '.*' $SCRIPTS
+ eend $?
else
einfo "Bootparameter scripts found. Trying to execute ${SCRIPTS}:"
sh -c $SCRIPTS
+ eend $?
fi
fi
fi