.
This commit is contained in:
parent
6fe1bd3e0c
commit
93a38129c0
6
.functions/reset_evolution.sh
Normal file
6
.functions/reset_evolution.sh
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#!/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
|
||||||
|
}
|
8
.functions/restic.sh
Normal file
8
.functions/restic.sh
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
function restic(){
|
||||||
|
# shellcheck disable=SC1090
|
||||||
|
source "$HOME"/.restic/restic.env
|
||||||
|
/usr/bin/restic --cacert="$HOME"/.restic/cert.pem "$@"
|
||||||
|
}
|
||||||
|
|
8
.functions/salt.sh
Normal file
8
.functions/salt.sh
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
function salt() {
|
||||||
|
if [[ "$1" == "state.apply" ]]; then
|
||||||
|
sudo salt-call --local --file-root "$HOME/salt/states" --pillar-root "$HOME/salt/pillars" "$@" pillar="{username: $USER}"
|
||||||
|
else·
|
||||||
|
sudo salt-call --local --file-root "$HOME/salt/states" --pillar-root "$HOME/salt/pillars" "$@"
|
||||||
|
fi
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user