Toggle button function pulldown menu (Mudi V2, 4.3.28)

I am investigating how toggle button function pulldown menu text is determined on Mudi V2 with firmware 4.3.28.

Specifically, this screenshot shows a customized menu option, sim (On, Off) and Sim (On, Off), that does not appear on the factory default pulldown menu.

What is the source file that includes the text parameter "sim (On, Off)"?

I know GL web interface is generally compressed .js but that text string "sim (On, Off)" is custom - and it doesn't appear magically.

My objective is to modify the text string "sim (On, Off)" with my own text, let's say "Bob (On, Off)", for example.

Hi,

I upgraded the Mudi v2 firmware to v4.2.28.

No Toggle option "Sim (On/Off)".

Please try resetting the firmware first.

If this option still exists, please share the router with us through GoodCloud, and we will check it remotely.

By the way, the Toggle script is placed in /etc/gl-switch.d/, and we did not develop a toggle option which it named "Sim (On/Off)".

Try to check packages. This option could appear after installing blue-merle package. If it was installed, then maybe value hidden somewhere in package files.

1 Like

I have looked everywhere and I can't find it. I must be suffering from bad eyesight because I know it is in there somewhere.

I easily found and edited other portions like text interaction when the toggle is pulled, but the pulldown menu ... nowhere I found.

Go to /etc/gl-switch.d/ and there must be shell-file sim.sh

Rename it to something you want (for example EvolvePleaseSuperToggle)

As a result you will see:

Beautiful! Thank you.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.