fix wifi5 also
This commit is contained in:
parent
695bdc8a14
commit
f3bb60dd38
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue