Add SkipUpdate() Updater method

Allow to skip the update step and reboot to ReachView
This commit is contained in:
2018-10-16 12:29:46 +02:00
parent 68e9ba80b3
commit ec2fd846cc
4 changed files with 61 additions and 21 deletions

View File

@ -169,7 +169,6 @@ func (wi *UCIWirelessInterface) Up(uci *UCI) *Action {
// Delete remove wifi interface from UCI Configuration
func (wi *UCIWirelessInterface) Delete(uci *UCI) *Action {
toDelete := fmt.Sprintf("wireless.@wifi-iface[%d]", wi.Index)
fmt.Printf("DEBUG\n%s\nDEBUG", toDelete)
del := uci.Delete(toDelete)
if del.ReturnCode != 0 {
return del