summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Vejnar <ce@vejnar.org>2011-04-26 14:08:40 +0200
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2011-04-26 10:31:58 -0300
commitd438c79a84bd925795f53d26e8d07c79ed3121f7 (patch)
treebcee300c5e7518da084d3cce17a1c670e9bbd7ae
parentaaa2ae5452338ab5852fa54673e32014bf37350c (diff)
downloadarchiso32-d438c79a84bd925795f53d26e8d07c79ed3121f7.tar.xz
Removes incorrect quotes in automated_script
-rw-r--r--configs/syslinux-iso/overlay/etc/rc.d/functions.d/automated_script2
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/syslinux-iso/overlay/etc/rc.d/functions.d/automated_script b/configs/syslinux-iso/overlay/etc/rc.d/functions.d/automated_script
index 076a49c..7a35acb 100644
--- a/configs/syslinux-iso/overlay/etc/rc.d/functions.d/automated_script
+++ b/configs/syslinux-iso/overlay/etc/rc.d/functions.d/automated_script
@@ -3,7 +3,7 @@ automated_script ()
script="$(kernel_cmdline script)"
if [[ -n "$script" ]]; then
stat_busy "Configuring $script"
- if [[ "$script" =~ "^http://" || "$script" =~ "^ftp://" ]]; then
+ if [[ "$script" =~ ^http:// || "$script" =~ ^ftp:// ]]; then
wget "$script" -q -O /tmp/startup_script >/dev/null
rt=$?
else