evolution reset calendar function

This commit is contained in:
Jonas Forsberg 2020-09-16 08:34:43 +02:00
parent 559cddb45a
commit 59d90835d3
No known key found for this signature in database
GPG Key ID: F2E9818C70350CC9

View File

@ -1,4 +1,11 @@
#!/bin/bash #!/bin/bash
function reset_evolution() {
# Reset evolution calendar factory
# When it hangs connecting to EWS calendar outlooko365
EWS_DEBUG=2 /usr/lib/evolution-data-server/evolution-calendar-factory -w
}
function salt() { function salt() {
if [[ "$1" == "state.apply" ]]; then if [[ "$1" == "state.apply" ]]; then
sudo salt-call --local --file-root "$HOME/salt/states" --pillar-root "$HOME/salt/pillars" "$@" pillar="{username: $USER}" sudo salt-call --local --file-root "$HOME/salt/states" --pillar-root "$HOME/salt/pillars" "$@" pillar="{username: $USER}"