aboutsummaryrefslogtreecommitdiffstats
path: root/stacks/lwip_stack/release/stop_nstack.sh
diff options
context:
space:
mode:
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."