From da44d38888a163fbcd0072b482c7a4aa11c25cc6 Mon Sep 17 00:00:00 2001 From: Herbert Wolverson Date: Wed, 15 Feb 2023 17:14:29 +0000 Subject: [PATCH] Temporary: mark --updateonly as unavailable if OnAStick The partial reload mechanism *really* doesn't work with OnAStick configurations at present. There's a lot of work required to make it function. In the meantime, warn the poor user that this isn't going to work. Affects ISSUE #129 --- src/LibreQoS.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/LibreQoS.py b/src/LibreQoS.py index 88ce1ee9..bca58478 100755 --- a/src/LibreQoS.py +++ b/src/LibreQoS.py @@ -1332,6 +1332,10 @@ if __name__ == '__main__': elif args.clearrules: tearDown(interfaceA, interfaceB) elif args.updateonly: + # Single-interface updates don't work at all right now. + if OnAStick: + print("--updateonly is not supported for single-interface configurations") + os.exit(-1) refreshShapersUpdateOnly() else: # Refresh and/or set up queues