Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/configs/syslinux-iso/overlay/etc
diff options
context:
space:
mode:
Diffstat (limited to 'configs/syslinux-iso/overlay/etc')
-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