all: add support to Netgear Orbi Voxel

While at it, also ensure checking the service is installed or not before
executing uninstall function, so we won't emit un-necessary errors.
This commit is contained in:
Cuong Manh Le
2024-03-19 18:11:33 +07:00
committed by Cuong Manh Le
parent b50cccac85
commit 20f8f22bae
6 changed files with 261 additions and 3 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ func newService(i service.Interface, c *service.Config) (service.Service, error)
return nil, err
}
switch {
case router.IsOldOpenwrt():
case router.IsOldOpenwrt(), router.IsNetGearOrbi():
return &procd{&sysV{s}}, nil
case router.IsGLiNet():
return &sysV{s}, nil