Skip to content

Commit

Permalink
Properly set hasQMI to true if we do, in fact, have QMI interface
Browse files Browse the repository at this point in the history
  • Loading branch information
ericpaulbishop committed May 10, 2015
1 parent e980121 commit 495f725
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions package/gargoyle/files/www/basic.sh
Expand Up @@ -48,8 +48,11 @@
has_qmi=$( ls /dev/cdc-wdm* 2>/dev/null )
if [ -z "$has_qmi" ] ; then
echo "hasQMI = false;"
else
echo "hasQMI = true;"
fi


#echo "var interfaces = new Array();"
#awk -F: '/eth|wwan|usb|hso/ {gsub(/[[:space:]]*/,"",$1);print "interfaces.push([\""$1"\"]);"}' /proc/net/dev

Expand Down

0 comments on commit 495f725

Please sign in to comment.