summaryrefslogtreecommitdiff
path: root/src/etc/commit/post-hooks.d/00vyos-sync
blob: 8ec732df062b0d7aa468129467214d3999c47e08 (plain)
1
2
3
4
5
6
7
#!/bin/sh
# When power is lost right after a commit modified files, the
# system can be corrupted and e.g. login is no longer possible.
# Always sync files to the backend storage after a commit.
# https://vyos.dev/T4975
sync