diff options
author | Charles Vejnar <ce@vejnar.org> | 2011-04-26 14:08:40 +0200 |
---|---|---|
committer | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2011-04-26 10:31:58 -0300 |
commit | d438c79a84bd925795f53d26e8d07c79ed3121f7 (patch) | |
tree | bcee300c5e7518da084d3cce17a1c670e9bbd7ae /configs/syslinux-iso/overlay/etc | |
parent | aaa2ae5452338ab5852fa54673e32014bf37350c (diff) |
Removes incorrect quotes in automated_script
Diffstat (limited to 'configs/syslinux-iso/overlay/etc')
-rw-r--r-- | configs/syslinux-iso/overlay/etc/rc.d/functions.d/automated_script | 2 |
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 |