Is it possible to apply both the command to disable network status popups and to disable/enable wlan when lan is connected/disconnected?

sed -i ‘s/show_progress “$@”/true/’ /bin/netcontrol”
and the commands found: github.com/IGEL-Community/IGEL-Community.github.io/wiki/Scripts:-Custom-Commands#disable-wifi-wlan0-when-ethernet-eth0-is-pluged
I tried adding them to the same profile and then neither worked. I separated them and only one of the two gets applied
You should be able to as long as you don’t have anything conflicting in the scripts
put the sed… on the next line down or put it first or either?
this is what I have. It works on some but not others
cat <<“EOF” > /etc/NetworkManager/dispatcher.d/99-wlan
#!/bin/bash
if [ “$1” = “eth0” -o “$1” = “eth1” ]; then
case “$2” in
up)
nmcli radio wifi off
;;
down)
nmcli radio wifi on
;;
esac
fi
EOF
chmod +x /etc/NetworkManager/dispatcher.d/99-wlan
sed -i ‘s/show_progress “$@”/true/’ /bin/netcontrol”
could you solve the problem?
if yes, how?
Try this instead @member
sed -i ‘s/show_progress.*/show_progress false/
Have you tried disabling the registry key below?
userinterface.sessions.network-notification-enabled
Also, try setting this one to 0?
userinterface.sessions.network-notification-timeout
Continue reading and comment on the thread ‘Is it possible to disable network status popups and to disable/enable WLAN when LAN is connected/disconnected on IGEL OS?’. Not a member? Join Here!
Learn more, search the IGEL Knowledge Base
Ask a question or comment on the above message thread?
Join or log in to the IGEL Community to ask us anything and meet other IGEL customers, partners, and EUC enthusiasts.Submit a question, or Join Today!
Popular Message Threads
- Error “AM_ERROR_AUTH_NETWORK_ERROR [65275]” adding store in Citrix Workspace App version 20.x on IGEL OS 11.04
- How to Install IGEL OS via a Bootable USB Drive
- How to change the default IGEL UMS admin password?
- Receiving error: “Citrix Receiver cannot create a secure connection in this browser” when launching a secure connection from Firefox on IGEL OS
- What distro of Linux the IGEL kernel is based on?
- IGEL UD3 (LX50) randomly get this error with Citrix: The X Request 130.1 caused error :”10: BadAccess ( attempt to access private resource denied) any ideas?
- Where to delete the certificates that cause ‘invalid certificate’ when trying to import an IGEL into UMS?