From d438c79a84bd925795f53d26e8d07c79ed3121f7 Mon Sep 17 00:00:00 2001 From: Charles Vejnar Date: Tue, 26 Apr 2011 14:08:40 +0200 Subject: Removes incorrect quotes in automated_script --- configs/syslinux-iso/overlay/etc/rc.d/functions.d/automated_script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2