From 74288c3e75449b13db626cc891bdb0622218f992 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Mon, 6 Jan 2014 15:55:26 +0100 Subject: [PATCH] Report result of scripts execution --- autoconfig.functions | 3 +++ 1 file changed, 3 insertions(+) diff --git a/autoconfig.functions b/autoconfig.functions index 22abae3..04bdc80 100755 --- 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 -- 2.1.4