summaryrefslogtreecommitdiff
path: root/configs/releng/root-image/root/.automated_script.sh
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2014-04-25 11:42:41 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2014-04-25 11:42:41 -0300
commit96499e4fd7a908463e0bbd09e8605e377eb933b1 (patch)
treee414625c9835596866e7dcf398dd94f97ac51d26 /configs/releng/root-image/root/.automated_script.sh
parent6836b770a207e005834a26e08d2b139af20c8c0a (diff)
downloadarchiso32-96499e4fd7a908463e0bbd09e8605e377eb933b1.tar.xz
[configs/releng] Fix script= expansion
Fix FS#40049 Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'configs/releng/root-image/root/.automated_script.sh')
-rwxr-xr-xconfigs/releng/root-image/root/.automated_script.sh2
1 files changed, 1 insertions, 1 deletions
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
}