Skip to content
Snippets Groups Projects
Commit bececcce authored by Mathias Kresin's avatar Mathias Kresin
Browse files

lantiq: fix warning if ltq_atm modules are missing


Fixes the following warning on first boot if the ltq_atm modules are
not included in the image:

  ls: /lib/modules/4.4.49/ltq_atm*: No such file or directory

Signed-off-by: default avatarMathias Kresin <dev@kresin.me>
parent e88b36f4
No related branches found
No related tags found
No related merge requests found
...@@ -164,9 +164,8 @@ WBMR300) ...@@ -164,9 +164,8 @@ WBMR300)
esac esac
if [ -n "$(ls /lib/modules/`uname -r`/ltq_atm*)" ]; then ls /lib/modules/$(uname -r)/ltq_atm* 1> /dev/null 2>&1 && \
ucidef_add_atm_bridge "$vpi" "$vci" "$encaps" "$payload" ucidef_add_atm_bridge "$vpi" "$vci" "$encaps" "$payload"
fi
if lantiq_is_vdsl_system; then if lantiq_is_vdsl_system; then
interface_wan="ptm0" interface_wan="ptm0"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment