uqmi: Add qmi.sh executable bit and fix option dhcp
Using protocol qmi does not work since qmi.sh is not executable. Setting option dhcp explicitely to 0 actually enables it. This patch fixes both problems. Signed-off-by: Matti Laakso <malaakso@elisanet.fi> SVN-Revision: 47014
This commit is contained in:
parent
3babd37b0e
commit
d4760cd9b4
2 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=uqmi
|
PKG_NAME:=uqmi
|
||||||
PKG_VERSION:=2015-08-13
|
PKG_VERSION:=2015-09-17
|
||||||
PKG_RELEASE=$(PKG_SOURCE_VERSION)
|
PKG_RELEASE=$(PKG_SOURCE_VERSION)
|
||||||
|
|
||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
|
|
2
package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh
Normal file → Executable file
2
package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh
Normal file → Executable file
|
@ -140,7 +140,7 @@ proto_qmi_setup() {
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ -z "$dhcp" ]; then
|
if [ -z "$dhcp" -o "$dhcp" = 0 ]; then
|
||||||
echo "Setting up $ifname"
|
echo "Setting up $ifname"
|
||||||
[ -n "$ipv4" ] && {
|
[ -n "$ipv4" ] && {
|
||||||
json_load "$(uqmi -s -d $device --set-client-id wds,$cid_4 --get-current-settings)"
|
json_load "$(uqmi -s -d $device --set-client-id wds,$cid_4 --get-current-settings)"
|
||||||
|
|
Loading…
Reference in a new issue