From 4ec500f518bb12fb7620578b117718d415dc008e Mon Sep 17 00:00:00 2001 From: cptechnik Date: Sun, 19 Feb 2023 15:13:41 +0100 Subject: [PATCH] extended info when no domain is given v3 ... the easy way ... the better way is ... a parameter to get domain status... like gluon-switch-domain status --> uci get gluon.core.domain ...but... until then... this is helpful... 3rd version --- package/gluon-core/luasrc/usr/bin/gluon-switch-domain | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/gluon-core/luasrc/usr/bin/gluon-switch-domain b/package/gluon-core/luasrc/usr/bin/gluon-switch-domain index a4c00376..325e1105 100755 --- a/package/gluon-core/luasrc/usr/bin/gluon-switch-domain +++ b/package/gluon-core/luasrc/usr/bin/gluon-switch-domain @@ -16,7 +16,7 @@ end local setup_mode = unistd.access('/var/gluon/setup-mode') == 0 if #arg ~= 1 then - io.stderr:write('Usage: gluon-switch-domain [--no-reboot] \nUse: uci show gluon.core to view your actual domain\n') + io.stderr:write('Usage: gluon-switch-domain [--no-reboot] \nUse: "uci show gluon.core" to view your actual domain\n') os.exit(1) end local domain = arg[1]