From 05c97b02b22817b0084b4cdacb85effb3e0ab1f0 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Wed, 12 Dec 2018 19:26:28 +0800 Subject: [PATCH] Update task.py --- task.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/task.py b/task.py index f57f531fb..f5a5faa8e 100755 --- a/task.py +++ b/task.py @@ -327,12 +327,12 @@ def systemTask(): if reloadNum > 1440: reloadNum = 0 # if os.path.exists('data/ssl.pl'): - # os.system( - # '/etc/init.d/bt restart > /dev/null 2>&1') + os.system(public.getRunDir() + + '/scripts/init.d/bt restart > /dev/null 2>&1') except Exception, ex: print str(ex) - del(tmp) + del(tmp) time.sleep(5) count += 1 except Exception, ex: