fix wifi5 also

This commit is contained in:
Martin/Geno 2019-07-01 17:28:52 +02:00
parent 695bdc8a14
commit f3bb60dd38
No known key found for this signature in database
GPG Key ID: 9D7D3C6BFF600C6A
1 changed files with 5 additions and 5 deletions

View File

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