X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=openpandora.oe.git;a=blobdiff_plain;f=recipes%2Fpandora-system%2Fpandora-scripts%2Fop_videofir.sh;h=b63c6d76a8b8646d7bb1ddadfb82b79c62e2ca84;hp=2461b0dd165ee538ed65d68095f0c1079de01151;hb=b4530175c1aec3b429fcc7884d3833f6db0ade8f;hpb=91ed7a775ce8ab1a900b6f9e49f568b1da7c0725 diff --git a/recipes/pandora-system/pandora-scripts/op_videofir.sh b/recipes/pandora-system/pandora-scripts/op_videofir.sh index 2461b0d..b63c6d7 100755 --- a/recipes/pandora-system/pandora-scripts/op_videofir.sh +++ b/recipes/pandora-system/pandora-scripts/op_videofir.sh @@ -16,6 +16,9 @@ fi apply_filter() { file="${1}" + if [ ! -f "$file" ]; then + file="${1}_up" + fi if [ -f "$file" ]; then # hardcode overlay for now.. We'll update this as needed echo "writing fir:" @@ -23,6 +26,8 @@ apply_filter() sed -n 3,10p "$file" > "/sys/devices/platform/omapdss/overlay1/filter_coef_up_h" sed -n 12,19p "$file" > "/sys/devices/platform/omapdss/overlay1/filter_coef_up_v3" sed -n 21,28p "$file" > "/sys/devices/platform/omapdss/overlay1/filter_coef_up_v5" + else + echo "No filter with that name" fi }