From 96499e4fd7a908463e0bbd09e8605e377eb933b1 Mon Sep 17 00:00:00 2001 From: Gerardo Exequiel Pozzi Date: Fri, 25 Apr 2014 11:42:41 -0300 Subject: [configs/releng] Fix script= expansion Fix FS#40049 Signed-off-by: Gerardo Exequiel Pozzi --- configs/releng/root-image/root/.automated_script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/releng/root-image/root/.automated_script.sh b/configs/releng/root-image/root/.automated_script.sh index fb106da..81a98a1 100755 --- a/configs/releng/root-image/root/.automated_script.sh +++ b/configs/releng/root-image/root/.automated_script.sh @@ -5,7 +5,7 @@ script_cmdline () local param for param in $(< /proc/cmdline); do case "${param}" in - script=*) echo "${param##*=}" ; return 0 ;; + script=*) echo "${param#*=}" ; return 0 ;; esac done } -- cgit v1.2.3-70-g09d2