Commit e31730b9 authored by dobli's avatar dobli
Browse files

fixed path of device script

parent 15aa0c15
......@@ -1418,10 +1418,10 @@ def device_menu(args):
base_dir = os.getcwd()
# Check if device scripts are installed
bin_path = 'usr/bin/enable-swarm-device'
bin_path = '/usr/bin/enable-swarm-device'
choices = ['Install device scripts']
if not os.path.exists(bin_path):
if os.path.exists(bin_path):
choices.append('Link device to service')
choices.append('Exit')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment