mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-05-15 00:50:25 +02:00
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:
committed by
Cuong Manh Le
parent
b50cccac85
commit
20f8f22bae
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user