Browse Source

fix wifi5 also

pull/20/head
Martin/Geno 3 years ago
parent
commit
f3bb60dd38
No known key found for this signature in database GPG Key ID: 9D7D3C6BFF600C6A
  1. 10
      runtime/node_ssh.go

10
runtime/node_ssh.go

@ -83,8 +83,8 @@ func (n *Node) SSHUpdate(sshmgmt *ssh.Manager) bool {
uci set wireless.priv_%s.ssid='offline-%s';
uci commit wireless;`,
radio, n.Hostname))
// runWifi = true <- not needed for offline-ssid
}
// runWifi = true <- not needed for offline-ssid
}
}
// update settings for 5GHz (802.11a) radio
@ -122,9 +122,9 @@ func (n *Node) SSHUpdate(sshmgmt *ssh.Manager) bool {
ssh.Execute(n.Address, client, fmt.Sprintf(`
uci set wireless.priv_%s.ssid='offline-%s';
uci commit wireless;`,
n.Hostname))
runWifi = true
}
radio, n.Hostname))
// runWifi = true <- not needed for offline-ssid
}
}
return true

Loading…
Cancel
Save