Add SkipUpdate() Updater method
Allow to skip the update step and reboot to ReachView
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user