summaryrefslogtreecommitdiff
path: root/src/etc/commit/post-hooks.d/00vyos-sync
blob: e3bde3abbbadeb3c34d4de332e100de04165e175 (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://phabricator.vyos.net/T4975
sync