Removes incorrect quotes in automated_script

This commit is contained in:
Charles Vejnar 2011-04-26 14:08:40 +02:00 committed by Gerardo Exequiel Pozzi
parent aaa2ae5452
commit d438c79a84

View File

@ -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