summaryrefslogtreecommitdiff
path: root/configs/releng/root-image/root/.automated_script.sh
diff options
context:
space:
mode:
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
}