Skip to content

Commit

Permalink
Fix openwrt compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
svpcom committed Sep 14, 2024
1 parent 69808b6 commit fa26cc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion wfb_ng/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def get_allocator(node):
{% endfor %}
# Fail in case of connection loss
(set +x; sleep 1; exec cat > /dev/null) &
(sleep 1; exec cat > /dev/null) &
wait -n
'''
Expand Down
2 changes: 1 addition & 1 deletion wfb_ng/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def init(profiles, wlans, cluster_mode):
if cluster_mode == 'ssh':
for node, setup_script in gen_cluster_scripts(cluster_nodes).items():
dl.append(SSHClientProtocol(node, settings.cluster.ssh_user,
'/bin/bash', '-x',
'/bin/bash',
key=settings.cluster.ssh_key,
port=settings.cluster.ssh_port,
use_agent=settings.cluster.ssh_key is None,
Expand Down

0 comments on commit fa26cc8

Please sign in to comment.