augustplaninsek / vpn-cisco-anyconnect

Shell script to toggle Cisco Anyconnect VPN
2 stars 0 forks source link

Status not showing up on menu bar #2

Open eliahuhorwitz opened 2 years ago

eliahuhorwitz commented 2 years ago

Hey, I have imported the preset into BTT but the status does not show up in the menu bar. Any advice on how to debug this? Thanks

augustplaninsek commented 2 years ago

Does the shell script vpnstatus.sh work? You can try it by running sh vpnstatus.sh

eliahuhorwitz commented 2 years ago

Just to clarify, does this show up on my touch bar (i.e on the MacBook pro physical device) or on the menu bar (i.e on macOS)?

eliahuhorwitz commented 2 years ago

Also, when running vpn.sh I get the following error: vpn.sh: line 11: Cisco: command not found

It was pointed out already here #1 and he seems to have worked it out but I couldn't figure out how to solve it.

augustplaninsek commented 2 years ago

BTT preset is for the touchbar.

If you have an error with vpn status.sh try to run command from that script /opt/cisco/anyconnect/bin/vpn status.

You need to have Cisco Anyconnect installed.

stensmir commented 2 years ago

Hi, if you run cisco with script, he doesn't showing on menu.