From 00be2db054e21717329bf39d82a27f72c28761df Mon Sep 17 00:00:00 2001 From: Seonah Moon Date: Wed, 29 Jun 2016 11:37:48 +0900 Subject: [PATCH] Add default path to shell script Change-Id: I83b0a49b9cec220bcc2c0885cb9c035847653790 Signed-off-by: Seonah Moon --- packaging/mobileap-agent.spec | 2 +- tethering_dump.sh | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/packaging/mobileap-agent.spec b/packaging/mobileap-agent.spec index 59abdd9..7518335 100644 --- a/packaging/mobileap-agent.spec +++ b/packaging/mobileap-agent.spec @@ -1,6 +1,6 @@ Name: mobileap-agent Summary: Mobile AP daemon for setting tethering environments -Version: 1.0.60 +Version: 1.0.61 Release: 1 Group: System/Network License: Apache-2.0 diff --git a/tethering_dump.sh b/tethering_dump.sh index 887c55f..359f772 100644 --- a/tethering_dump.sh +++ b/tethering_dump.sh @@ -1,4 +1,5 @@ #!/bin/sh +PATH=/bin:/usr/bin:/sbin:/usr/sbin # # Tethering module log dump (tethering_dump.sh) # @@ -8,10 +9,7 @@ TETH_DEBUG=$1/tethering mkdir -p ${TETH_DEBUG} # copy files -#/bin/cp -a /tmp/hostapd.log ${TETH_DEBUG} /bin/cp -rf /tmp/dnsmasq.conf /opt/var/lib/misc/* ${TETH_DEBUG} -#vconftool get db/mobile_hotspot > ${TETH_DEBUG}/vconf_db.log -#vconftool get memory/mobile_hotspot > ${TETH_DEBUG}/vconf_memory.log /usr/sbin/iptables -t nat -L -vv > ${TETH_DEBUG}/iptables_nat.log /usr/sbin/iptables -L -vv > ${TETH_DEBUG}/iptables_filter.log -- 2.7.4