aboutsummaryrefslogtreecommitdiffstats
path: root/stacks/lwip_stack/release/stop_nstack.sh
diff options
context:
space:
mode:
authoryalei wang <wylandrea@gmail.com>2018-09-20 02:50:40 +0000
committerGerrit Code Review <gerrit@fd.io>2018-09-20 02:50:40 +0000
commit61934104c6f07757736fa6f33275f7ae0dfe9c28 (patch)
tree65f3d78d193318267679f15520564706b0bcc3cd /stacks/lwip_stack/release/stop_nstack.sh
parent9f145958f0a168661b0dd4d376366d8428946ed3 (diff)
parente0c272624602f0fa1e195e4540df2c7e081311af (diff)
Merge "Fix: update the path of lwip script"
Diffstat (limited to 'stacks/lwip_stack/release/stop_nstack.sh')
-rw-r--r--stacks/lwip_stack/release/stop_nstack.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/stacks/lwip_stack/release/stop_nstack.sh b/stacks/lwip_stack/release/stop_nstack.sh
index 9b9fe94..48d1af7 100644
--- a/stacks/lwip_stack/release/stop_nstack.sh
+++ b/stacks/lwip_stack/release/stop_nstack.sh
@@ -1,9 +1,11 @@
#!/bin/bash
-. ./script/nstack_var.sh
-. ./script/nstack_fun.sh
script_path=$(cd "$(dirname "$0")"; pwd)
+
+. ${script_path}/script/nstack_var.sh
+. ${script_path}/script/nstack_fun.sh
+
config_name=${script_path}/script/nstack_var.sh
if [ ! -e $config_name ]; then
log $LINENO "$config_name not exit, plz pay attention and add back!,or it has resourcce leak."