value: $processname"Įcho "$processname is NOT empty. Processname=$(ps aux | grep $val | grep root)Įcho "$processname is empty. #!/bin/bashĮcho $(date "+%Y-%m-%d %H:%M:%S: ") $1 > $logfileĭeclare -a StringArray=("vpndownloader" "vpn" "vpnagentd" "Cisco An圜onnect Secure Mobility Client") Since the Secure Mobility Client fires back up so quickly, you may need to put the checkForProcess function in a loop, but here's a chunk of our script showing the process kill logic. We have a connection monitor script that restarts everything if the network is connected but the system can't reach internal DNS. Enter .edu in the Ready to Connect to field, then press the Connect button. You could try killing An圜onnect (and its processes) with a script that runs in your upgrade policy. In your Applications folder, go to the Cisco folder and double-click the Cisco An圜onnect Secure Mobility Client.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |