all: add support for Synology router

This commit is contained in:
Cuong Manh Le
2023-05-18 23:03:03 +07:00
committed by Cuong Manh Le
parent 7ac5555a84
commit d2fc530316
5 changed files with 85 additions and 18 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ func initRouterCLI() {
platform = router.Name()
}
switch platform {
case router.DDWrt, router.Merlin, router.OpenWrt, router.Ubios:
case router.DDWrt, router.Merlin, router.OpenWrt, router.Ubios, router.Synology:
default:
unsupportedPlatformHelp(cmd)
os.Exit(1)