index : archiso32 | |
Archlinux32 iso tools | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | configs/syslinux-iso/overlay/etc/rc.d/functions.d/automated_script | 2 |
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 |